Skip to content

Commit

Permalink
fix(TravisCI): modified .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyBeldone committed May 16, 2019
1 parent 27a5dbd commit 73ee3c2
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
language: node_js
node_js:
- stable
sudo: false
sudo: true
cache: yarn

jobs:
include:
- stage: install
script: yarn install --ignore-engines
skip_cleanup: true
- stage: test
script: yarn test
skip_cleanup: true
- stage: release
node_js: lts/*
deploy:
provider: script
- stage: install
script: yarn install
skip_cleanup: true
script:
- yarn global add semantic-release && semantic-release
if: branch = master
- stage: test
script: yarn test
skip_cleanup: true
- stage: release
node_js: lts/*
deploy:
provider: script
skip_cleanup: true
script: yarn global add semantic-release && semantic-release
# if: branch = master

0 comments on commit 73ee3c2

Please sign in to comment.