mirror of
https://github.com/jprichardson/node-fs-extra.git
synced 2026-01-18 16:13:55 +00:00
package: update travis
This commit is contained in:
parent
a524434e11
commit
e8d29498df
24
.travis.yml
24
.travis.yml
@ -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
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user