Skip to content

Commit

Permalink
Use codecov instead of coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jan 28, 2018
1 parent a392319 commit 552729f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -23,15 +23,13 @@ install:
- npm install
- npm update
before_script: test/ci/_before_script.js
after_success: npm run coveralls
after_success: npm run codecov
branches:
only:
- master
- /^v\d+\.\d+\.\d+/
env:
global:
# coveralls token
- secure: hG3cs8/tOGTa8IPewVuahcp1f8gwsk/rX7ReUBPag6cdZdJpkbjzxp8R97mhhCrFOP/fvX8zAbCelXvvhME/mjZTFgzSNHLBL/SJreHP5m2B1yxXkroiQFu1qwewvzzKmfcs5W1CD8J8WbJuBk9zozDQG9c1OxTaK87tBGh1xik=
# prevent wine popup dialogs about installing additional packages
- WINEDLLOVERRIDES="mscoree,mshtml="
- WINEDEBUG="-all"
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"ava": "^0.24.0",
"buffer-equal": "^1.0.0",
"coveralls": "^3.0.0",
"codecov": "^3.0.0",
"eslint": "^4.1.0",
"eslint-config-standard": "^10.0.0",
"eslint-plugin-ava": "^4.3.0",
Expand All @@ -57,7 +57,7 @@
"node": ">= 4.0"
},
"scripts": {
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "eslint .",
"test": "npm run lint && nyc ava test/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions test/ci/appveyor.yml
Expand Up @@ -29,5 +29,6 @@ test_script:
- npm --version
- node test/ci/_before_script.js
- npm test
- npm run codecov

build: off

0 comments on commit 552729f

Please sign in to comment.