Skip to content

Commit

Permalink
moving coveralls out of the success loop at travis
Browse files Browse the repository at this point in the history
  • Loading branch information
pgte committed Jul 21, 2015
1 parent adca6c3 commit 8f3f5a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -3,4 +3,5 @@ node_js:
- "0.10"
- "0.11"
- "0.12"
script: "npm run coveralls"
script: "npm run coverage"
after_success: "npm run coveralls"
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -170,7 +170,7 @@
"scripts": {
"test": "node tests/test.js",
"coverage": "istanbul cover tests/test.js && istanbul check-coverage",
"coveralls": "istanbul cover tests/test.js && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"jshint": "jshint lib/*.js"
},
"pre-commit": [
Expand Down

0 comments on commit 8f3f5a4

Please sign in to comment.