Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Escalante committed Apr 10, 2014
1 parent 6d7c731 commit f547a1d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
@@ -1,3 +1,5 @@
language: node_js
node_js:
- '0.10'
- 0.10
after_script:
- npm run coveralls
9 changes: 7 additions & 2 deletions package.json
Expand Up @@ -44,10 +44,15 @@
"mocha": "*",
"should": "*",
"shelljs": "0.2.x",
"rimraf": "^2.2.6"
"rimraf": "2.x",
"coveralls": "2.x",
"mocha-lcov-reporter": "0.0.1",
"istanbul": "0.2.x"
},
"scripts": {
"test": "mocha"
"test": "mocha",
"coverage": "make build; istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | rm -rf ./coverage; make unbuild",
"coveralls": "make build; istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage; make unbuild"
},
"engines": {
"node": ">=0.10.0"
Expand Down

0 comments on commit f547a1d

Please sign in to comment.