Skip to content

Commit

Permalink
code coverage is optional for old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamkou committed May 2, 2018
1 parent 95fe066 commit 7cee3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"license": "MIT",
"scripts": {
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec; ([ `node -v | cut -d'v' -f2 | cut -d. -f1` -gt 3 ] && (cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage) || true)"
},
"dependencies": {
"async": "2.6.0",
Expand Down

0 comments on commit 7cee3c7

Please sign in to comment.