ci(travis): use Build Stages
This commit is contained in:
parent
fa2ca8a34b
commit
e0fa20b8a0
15
.travis.yml
15
.travis.yml
@ -1,13 +1,11 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
node_js:
|
node_js:
|
||||||
- 9
|
- 9
|
||||||
- 8
|
- 8
|
||||||
os:
|
|
||||||
- linux
|
|
||||||
|
|
||||||
# Trigger a push build on caribou and greenkeeper branches + PRs build on every branches
|
# Trigger a push build on caribou and greenkeeper branches + PRs build on every branches
|
||||||
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
|
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
|
||||||
@ -25,5 +23,10 @@ script:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- npm run codecov
|
- npm run codecov
|
||||||
- npm install -g travis-deploy-once@4
|
|
||||||
- travis-deploy-once "npm run semantic-release"
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: release
|
||||||
|
node_js: lts/*
|
||||||
|
script:
|
||||||
|
- npm run semantic-release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user