Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ellis committed Mar 20, 2014
1 parent edf7e44 commit d139f8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,9 @@ node_js:
- 0.10
- 0.11

after_script:
- npm run coveralls

notifications:
email:
recipients:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -20,13 +20,15 @@
"jshint": "~2.4.4",
"istanbul": "~0.2.4",
"tap-spec": "~0.1.4",
"pre-commit": "0.0.4"
"pre-commit": "0.0.4",
"coveralls": "~2.10.0"
},
"scripts": {
"test": "npm run jshint && istanbul --print=none cover test/index.js | tspec && istanbul report text",
"jshint": "jshint --verbose .",
"cover": "istanbul cover --report none --print detail test/index.js",
"view-cover": "istanbul report html && open ./coverage/index.html"
"view-cover": "istanbul report html && open ./coverage/index.html",
"coveralls": "cat coverage/lcov.info | coveralls"
},
"engine": {
"node": ">= 0.8.x"
Expand Down

0 comments on commit d139f8f

Please sign in to comment.