Skip to content

Commit

Permalink
fix coverage stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiriac committed Dec 16, 2017
1 parent 0ac57da commit 0ce6702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ notifications:
on_success: change
on_failure: always
on_start: never
script: npm run test
after_success: cat /home/travis/build/glayzzle/php-writer/coverage/lcov.info | /home/travis/build/glayzzle/php-writer/node_modules/coveralls/bin/coveralls.js
script: npm run cover
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/index.js",
"scripts": {
"test": "nyc mocha",
"cover": "nyc report --reporter=text-lcov | coveralls",
"cover": "nyc --reporter=lcov mocha && cat coverage/lcov.info | coveralls",
"docs": "jsdoc -d ./docs ./src"
},
"repository": {
Expand Down

0 comments on commit 0ce6702

Please sign in to comment.