Testing travis conditional build

This commit is contained in:
Tom Raithel
2017-11-24 11:12:21 +01:00
parent d312f65df7
commit 052176cdb6

View File

@@ -2,11 +2,6 @@ language: node_js
node_js: node
install: yarn install
script: yarn build
# Only perform travis builds on this branches:
branches:
only:
- master
- next
deploy:
- provider: s3
access_key_id:
@@ -19,7 +14,7 @@ deploy:
region: eu-central-1
local_dir: dist
detect_encoding: true
on:
"on":
branch: master
- provider: s3
access_key_id:
@@ -32,5 +27,5 @@ deploy:
region: eu-central-1
local_dir: dist
detect_encoding: true
on:
"on":
branch: next