travis: Change from after_success script to travis deploy
This commit is contained in:
parent
bfe53e0b03
commit
cf0c2afa4c
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
|
||||||
|
|
Reference in a new issue