diff --git a/.travis.yml b/.travis.yml index d397bc6..9c21d54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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