Merge pull request #195 from coinpunk/addcoveralls
Add support for continuous coverage reporting
This commit is contained in:
commit
befa0d3446
2 changed files with 2 additions and 0 deletions
|
@ -7,4 +7,5 @@ node_js:
|
|||
env:
|
||||
- TEST_SUITE=unit
|
||||
- TEST_SUITE=integration
|
||||
- TEST_SUITE=coveralls
|
||||
script: "npm run-script $TEST_SUITE"
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
"test": "npm run-script unit",
|
||||
"integration": "./node_modules/.bin/_mocha --reporter list test/integration/*.js",
|
||||
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js",
|
||||
"coveralls": "npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info",
|
||||
"compile": "./node_modules/.bin/browserify ./src/index.js -s Bitcoin | ./node_modules/.bin/uglifyjs > bitcoinjs-min.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue