We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5927f0b commit 9bc71beCopy full SHA for 9bc71be
.travis.yml
@@ -1,17 +1,24 @@
1
language: node_js
2
3
+# https://github.com/nodejs/LTS
4
node_js:
- - "stable"
5
- - "4"
6
- - "iojs"
7
- - "0.12"
8
- - "0.10"
+ - '7'
+ - '6'
+ - '4'
+ - '0.12'
9
+
10
+git:
11
+ depth: 5
12
13
+cache:
14
+ directories:
15
+ - ~/.npm
16
17
before_install:
18
- npm config set spin false --global
19
20
script:
- - npm run lint && npm run check && (if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run cover:lcov; else npm run testonly; fi)
21
+ - if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run lint && npm run check && npm run cover:lcov; else npm run testonly; fi
22
23
after_success:
24
- if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi
0 commit comments