travis: add standard test suite
This commit is contained in:
parent
399803affa
commit
a006e9a4ef
2 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@ node_js:
|
|||
- "0.11"
|
||||
- "0.10"
|
||||
env:
|
||||
- TEST_SUITE=unit
|
||||
- TEST_SUITE=integration
|
||||
- TEST_SUITE=coveralls
|
||||
- TEST_SUITE=integration
|
||||
- TEST_SUITE=standard
|
||||
- TEST_SUITE=unit
|
||||
script: "npm run-script $TEST_SUITE"
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
"coveralls": "npm run-script coverage && coveralls < coverage/lcov.info",
|
||||
"integration": "mocha --reporter list test/integration/*.js",
|
||||
"jshint": "jshint --config jshint.json src/*.js ; true",
|
||||
"standard": "standard",
|
||||
"test": "npm run-script unit",
|
||||
"unit": "istanbul test mocha -- --reporter list test/*.js"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue