Skip to content

Commit

Permalink
Change travis setup to only deploy once
Browse files Browse the repository at this point in the history
SInce adding a build matrix testing several kubernetes versions we are
deploying twice, once for each kube version. This changes our deploy
setup so it only deploys once.
  • Loading branch information
betatim committed Jul 25, 2018
1 parent 0113cd1 commit 8ff9f15
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ script:
- git diff
- ./ci/test.sh

deploy:
provider: script
skip_cleanup: true
script: ./ci/deploy.sh
on:
branch:
- master
- v0.7-dev
jobs:
include:
- stage: deploy
provider: script
skip_cleanup: true
script: ./ci/deploy.sh
env: KUBE_VERSION=1.10.0
on:
branch:
- master
- v0.7-dev
env:
matrix:
- KUBE_VERSION=1.10.0
Expand Down

0 comments on commit 8ff9f15

Please sign in to comment.