Skip to content

Commit 83192dc

Browse files
authored
CI: Separate coveralls to node_js 8
- Only node_js: "8" has coveralls
1 parent 4122644 commit 83192dc

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.travis.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,15 @@ cache:
44
directories:
55
- node_modules
66

7-
node_js:
8-
- "6"
9-
- "8"
10-
- "10"
11-
- "node"
12-
13-
before_install:
14-
- npm install coveralls
15-
16-
before_script:
17-
# these build targets only need to run once per build, so let's conserve a few resources
18-
# ESLint only supports Node >=4
19-
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run lint; fi
20-
21-
after_success:
22-
- if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run coverage && cat ./coverage/lcov.info | coveralls lib; fi
7+
matrix:
8+
include:
9+
- node_js: "6"
10+
- node_js: "8"
11+
before_install: npm install coveralls
12+
before_script: npm run lint
13+
after_success: npm run coverage && cat ./coverage/lcov.info | coveralls lib;
14+
- node_js: "10"
15+
- node_js: "node"
2316

2417
git:
2518
depth: 10

0 commit comments

Comments
 (0)