Skip to content

Commit

Permalink
ci(travis): build stages
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-ciniawsky committed Aug 4, 2018
1 parent 6f10898 commit 8ef443f
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .travis.yml
@@ -1,13 +1,25 @@
language: node_js

node_js:
- stable
- lts/*
- 6
jobs:
fast_finish: true
include:
- stage: Lint
env: SCRIPT=lint
node_js: 'stable'
- &test
stage: 'Test'
env: SCRIPT=test
node_js: 'stable'
- <<: *test
node_js: 'lts/*'
- <<: *test
node_js: 6

script: npm run $SCRIPT

after_success:
- npm i coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- cat ./coverage/lcov.info | $(npm bin)/coveralls

notifications:
email: false

0 comments on commit 8ef443f

Please sign in to comment.