Skip to content

Commit

Permalink
ci(travis): remove node 8 and 9 support. add new jobs in clever way
Browse files Browse the repository at this point in the history
  • Loading branch information
Itee committed Aug 4, 2019
1 parent f0c2c2e commit 6f3b56d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
language: node_js
node_js:
- "10"
- "12"

branches:
only:
Expand All @@ -13,11 +10,21 @@ env:
addons:
firefox: latest

before_script: npm run clean && npm run build-test
before_script: npm run clean && npm run patch

jobs:
include:
- stage: style
node_js:
- "10"
- "12"
script: npm run lint
- stage: test
node_js:
- "10"
- "12"
script: npm run build-test && npm run test
- stage: deploy
if: branch = master
node_js: "lts/*"
script: npm run patch && npm run release && npx semantic-release
script: npm run release && npx semantic-release

0 comments on commit 6f3b56d

Please sign in to comment.