package: update travis

This commit is contained in:
JP Richardson 2016-04-17 00:50:37 -05:00
parent a524434e11
commit e8d29498df
2 changed files with 17 additions and 11 deletions

View File

@ -1,11 +1,15 @@
language: node_js
before_install:
- "npm install npm -g"
node_js:
- 4.2
- 0.12
- 0.10
- iojs
after_success:
- "npm run coveralls"
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "io.js"
- "4"
- "5"
matrix:
include:
- node_js: "4"
env: TEST_SUITE=lint
env:
- TEST_SUITE=unit
script: npm run-script $TEST_SUITE

View File

@ -53,7 +53,9 @@
"scripts": {
"coverage": "istanbul cover test.js",
"coveralls": "npm run coverage && coveralls < coverage/lcov.info",
"lint": "standard",
"test-find": "find ./lib/**/__tests__ -name *.test.js | xargs mocha",
"test": "standard && node test.js"
"test": "npm run lint && npm run unit",
"unit": "node test.js"
}
}