Skip to content

Commit 97ad12e

Browse files
committed
chore(build): Make reporting to codecov via bash script
1 parent 8316065 commit 97ad12e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ after_success:
2424
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
2525
- python travis_after_all.py
2626
- export $(cat .to_export_back) &> /dev/null
27-
- npm run cover-report
27+
- bash <(curl -s https://codecov.io/bash)
2828
- npm run semantic-release
2929
branches:
3030
only:

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"chai": "3.5.0",
4242
"chai-as-promised": "5.3.0",
4343
"chai-spies": "0.7.1",
44-
"codecov.io": "0.1.6",
4544
"cz-conventional-changelog": "1.2.0",
4645
"eslint": "3.4.0",
4746
"eslint-config-airbnb": "10.0.1",
@@ -63,7 +62,6 @@
6362
"build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es",
6463
"build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
6564
"cover": "nyc npm t",
66-
"cover-report": "cat ./coverage/lcov.info | codecov",
6765
"lint": "eslint src test *.js",
6866
"prepublish": "npm run build",
6967
"test": "babel-node ./node_modules/.bin/_mocha --compilers js:babel-core/register --reporter dot --require ./resources/mocha-bootload src/**/__tests__/**/*-test.js",

0 commit comments

Comments
 (0)