add integration build to travis
This commit is contained in:
parent
b99ed46796
commit
a71685658b
2 changed files with 6 additions and 1 deletions
|
@ -4,3 +4,7 @@ before_install:
|
|||
node_js:
|
||||
- "0.11"
|
||||
- "0.10"
|
||||
env:
|
||||
- TEST_SUITE=unit
|
||||
- TEST_SUITE=integration
|
||||
script: "npm run-script $TEST_SUITE"
|
||||
|
|
|
@ -39,7 +39,8 @@
|
|||
"files": "test/*.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- --reporter list `find test -maxdepth 1 -not -type d`",
|
||||
"unit": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- --reporter list `find test -maxdepth 1 -not -type d`",
|
||||
"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",
|
||||
"compile": "./node_modules/.bin/browserify ./src/index.js -s Bitcoin | ./node_modules/.bin/uglifyjs > bitcoinjs-min.js"
|
||||
|
|
Loading…
Reference in a new issue