travis after_success instead of deploy

Signed-off-by: emile <emile@vauge.com>
This commit is contained in:
emile 2016-02-22 14:33:46 +01:00
parent 6282bf33a0
commit 54208f6fc3
No known key found for this signature in database
GPG key ID: D808B4C167352E59

View file

@ -23,9 +23,10 @@ script:
- make crossbinary
- make image
deploy:
skip_cleanup: true
provider: script
script: script/deploy.sh
on:
branch: master
after_success:
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) &&
[ "$TRAVIS_PULL_REQUEST" == "false" ]; then
script/deploy.sh
else
echo "Skipping deploy"
fi