Skip to content

Commit 8ef443f

Browse files
committedAug 4, 2018
ci(travis): build stages
1 parent 6f10898 commit 8ef443f

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed
 

‎.travis.yml

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
language: node_js
22

3-
node_js:
4-
- stable
5-
- lts/*
6-
- 6
3+
jobs:
4+
fast_finish: true
5+
include:
6+
- stage: Lint
7+
env: SCRIPT=lint
8+
node_js: 'stable'
9+
- &test
10+
stage: 'Test'
11+
env: SCRIPT=test
12+
node_js: 'stable'
13+
- <<: *test
14+
node_js: 'lts/*'
15+
- <<: *test
16+
node_js: 6
17+
18+
script: npm run $SCRIPT
719

820
after_success:
921
- npm i coveralls
10-
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
22+
- cat ./coverage/lcov.info | $(npm bin)/coveralls
1123

1224
notifications:
1325
email: false

0 commit comments

Comments
 (0)
Please sign in to comment.