Skip to content

Commit

Permalink
Move coveralls to the after_success step on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Oct 31, 2018
1 parent 95eb3aa commit 26f0fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_js:
- '8'
- '10'
script: 'npm run ci'
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"lint": "eslint .",
"test": "mocha",
"ci": "npm test && npm run lint && npm run coverage && (<coverage/lcov.info coveralls || true)",
"ci": "npm test && npm run lint && npm run coverage",
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html"
},
"repository": {
Expand Down

0 comments on commit 26f0fd4

Please sign in to comment.