Skip to content

Commit cae9bb2

Browse files
Use matrix(jobs) in .travis.yml
1 parent abbc43f commit cae9bb2

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.travis.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
language: node_js
22
dist: trusty
3-
node_js:
4-
- 6
5-
- 7
6-
env:
7-
- CXX=g++-4.8
83
cache: yarn
4+
env:
5+
global:
6+
- CXX=g++-4.8
97

10-
before_install:
11-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.1.0
12-
- export PATH="$HOME/.yarn/bin:$PATH"
8+
jobs:
9+
include:
10+
- env: task=npm-test
11+
node_js:
12+
- 6
13+
before_install:
14+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.1.0
15+
- export PATH="$HOME/.yarn/bin:$PATH"
16+
- env: task=npm-test
17+
node_js:
18+
- 7
19+
before_install:
20+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.1.0
21+
- export PATH="$HOME/.yarn/bin:$PATH"

0 commit comments

Comments
 (0)