diff --git a/.travis.yml b/.travis.yml index b3398971b..32ead6fdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,6 @@ branches: # version tags (from https://github.com/sindresorhus/semver-regex) - /^v?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?$/ -cache: - directories: - - $(npm config get cache) - jobs: include: - &job @@ -18,7 +14,7 @@ jobs: dist: trusty language: node_js node_js: 8 - install: + install: - npm install script: - npm run lint @@ -29,9 +25,8 @@ jobs: - npm run flow - npm run test -- --coverage --runInBand after_success: - - npm install coveralls - ./node_modules/.bin/coveralls < ./coverage/lcov.info - - bash <(curl -s https://codecov.io/bash) -f coverage/coverage.json + - bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json - <<: *job stage: build + deploy diff --git a/package.json b/package.json index 226cf4666..3facb26f6 100644 --- a/package.json +++ b/package.json @@ -143,6 +143,7 @@ "chalk": "1.1.3", "clean-webpack-plugin": "0.1.16", "copy-webpack-plugin": "4.0.1", + "coveralls": "2.13.1", "cpy": "5.0.0", "cross-env": "5.0.1", "css-loader": "0.28.4",