travis: add standard test suite

This commit is contained in:
Daniel Cousens 2015-02-23 10:44:05 +11:00
parent 399803affa
commit a006e9a4ef
2 changed files with 4 additions and 2 deletions

View file

@ -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"

View file

@ -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"
},