From bb6e24443127ab45e42eed4bb46694eb657e639e Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 2 Aug 2016 21:08:46 +0800 Subject: [PATCH] fix auto deploy docker image. Signed-off-by: Bo-Yi Wu --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a4971c..ee0cd1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,10 +37,10 @@ script: -service=travis-ci -repotoken=$COVERALLS_TOKEN after_success: - - test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_GO_VERSION" == "1.6.2" + - test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_GO_VERSION" == "1.6.3" && test "$TRAVIS_PULL_REQUEST" == "false" && docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - - test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_GO_VERSION" == "1.6.2" + - test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_GO_VERSION" == "1.6.3" && test "$TRAVIS_PULL_REQUEST" == "false" && cd $TRAVIS_BUILD_DIR && make docker_build - - test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_GO_VERSION" == "1.6.2" + - test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_GO_VERSION" == "1.6.3" && test "$TRAVIS_PULL_REQUEST" == "false" && cd $TRAVIS_BUILD_DIR && make deploy tag=latest - bash <(curl -s https://codecov.io/bash) -f .cover/coverage.txt