Skip to content

Commit

Permalink
Use build stages for lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Apr 22, 2018
1 parent 890900e commit bcb21e0
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,28 @@ sudo: false
language: node_js

node_js:
- "4.0"
- "5.0"
- "6.0"
- "7.0"
- "8.0"
- "9.0"
- node
- lts/*
- "9.0"
- "8.0"
- "7.0"
- "6.0"
- "5.0"
- "4.0"

stages:
- lint
- test

script:
- npm run lint
- npm run test

jobs:
include:
- stage: lint
node_js: node
script: npm run lint

after_success:
- npm run coverage

Expand Down

0 comments on commit bcb21e0

Please sign in to comment.