Skip to content

Commit

Permalink
harmony coveralls script
Browse files Browse the repository at this point in the history
  • Loading branch information
yanni4night committed Nov 4, 2016
1 parent a1f47be commit 2ddf49a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -5,5 +5,5 @@ sudo: false
node_js:
- node
after_script:
- npm install -g istanbul
- npm install istanbul
- npm run coveralls
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "eslint src index.js && ./node_modules/.bin/mocha --harmony",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"coveralls": "node --harmony node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"prepublish": "npm run test"
},
"pre-commit": "test",
Expand Down

0 comments on commit 2ddf49a

Please sign in to comment.