travis: Change from after_success script to travis deploy

This commit is contained in:
Dalton Hubble 2016-01-19 11:22:46 -08:00
parent bfe53e0b03
commit cf0c2afa4c

View file

@ -21,8 +21,14 @@ script:
- ./test
- ./test-functional
after_success:
- if [[ "$TRAVIS_GO_VERSION" == "1.5.3" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then ./build-docker-push ;fi
deploy:
provider: script
script: build-docker-push
skip_cleanup: true
on:
branch: master
go: '1.5.3'
condition: "$TRAVIS_PULL_REQUEST = false"
notifications:
email: false