Skip to content

Commit

Permalink
Merge pull request #307 from jprichardson/coverage
Browse files Browse the repository at this point in the history
Fix coverage
  • Loading branch information
jprichardson committed Oct 31, 2016
2 parents 597a98f + 7448648 commit 87dd3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ env:
- TEST_SUITE=unit
script: npm run-script $TEST_SUITE
after_success:
- npm run coveralls
- if [ $TEST_SUITE = lint ]; then npm run coveralls; fi
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"main": "./lib/index",
"scripts": {
"coverage": "istanbul cover test.js",
"coverage": "istanbul cover -i 'lib/**' -x '**/__tests__/**' test.js",
"coveralls": "npm run coverage && coveralls < coverage/lcov.info",
"lint": "standard",
"test-find": "find ./lib/**/__tests__ -name *.test.js | xargs mocha",
Expand Down

0 comments on commit 87dd3c8

Please sign in to comment.