Skip to content

Commit

Permalink
ci(travis): enable ci builds on greenkeeper branches
Browse files Browse the repository at this point in the history
  • Loading branch information
c0bra committed Sep 9, 2019
1 parent 13c8b8c commit d708ab3
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,30 @@ node_js: lts/*

branches:
only:
- master
- dev
# Tags
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- master
- dev
# Tags
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- /^greenkeeper\//

addons:
apt:
packages:
- xvfb
- xvfb

install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm ci || npm install
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm ci || npm install

script: skip

jobs:
include:
- stage: release
node_js: lts/*
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
- stage: release
node_js: lts/*
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release

0 comments on commit d708ab3

Please sign in to comment.