Skip to content

Commit

Permalink
feat: add coveralls for coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
silvolu committed Aug 20, 2014
1 parent c3dd731 commit 481ddde
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@
"jshint": "^2.5.2",
"mocha": "^1.21.3",
"sandboxed-module": "^1.0.1",
"tmp": "0.0.24"
"tmp": "0.0.24",
"coveralls": "^2.11.1"
},
"scripts": {
"lint": "jshint lib/ regression/ test/",
"test": "mocha --recursive --reporter spec",
"regression-test": "mocha regression/ --reporter spec --timeout 15000",
"cover": "istanbul cover -x 'regression/*' _mocha -- --timeout 10000 test/* regression/*"
"cover": "istanbul cover -x 'regression/*' _mocha -- --timeout 10000 test/* regression/*",
"coveralls": "istanbul cover -x 'regression/*' _mocha --report lcovonly -- --timeout 10000 test/* regression/* -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"license": "Apache 2"
}

0 comments on commit 481ddde

Please sign in to comment.