forked from mystiq/dex
Merge pull request #279 from dghubble/master
travis: Change from after_success script to travis deploy
This commit is contained in:
commit
ace8253c82
1 changed files with 16 additions and 10 deletions
10
.travis.yml
10
.travis.yml
|
@ -21,8 +21,14 @@ script:
|
||||||
- ./test
|
- ./test
|
||||||
- ./test-functional
|
- ./test-functional
|
||||||
|
|
||||||
after_success:
|
deploy:
|
||||||
- if [[ "$TRAVIS_GO_VERSION" == "1.5.3" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then ./build-docker-push ;fi
|
provider: script
|
||||||
|
script: build-docker-push
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
go: '1.5.3'
|
||||||
|
condition: "$TRAVIS_PULL_REQUEST = false"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
Loading…
Reference in a new issue