From 8b2af0423530dd125bef15e1e29bdd78a4332a6d Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 31 Oct 2016 09:57:51 +0800 Subject: [PATCH] Add 1.7.3 version testing. 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 f13c145..423461d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ services: go: - 1.5.4 - 1.6.3 - - 1.7.1 + - 1.7.3 - tip env: @@ -42,12 +42,12 @@ after_success: - sed -i '/main.go/d' coverage.txt - bash <(curl -s https://codecov.io/bash) -f coverage.txt # deploy from master - - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_GO_VERSION" == "1.7.1" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then + - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_GO_VERSION" == "1.7.3" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; make docker_deploy tag=latest; fi # deploy from tag - - if [ "$TRAVIS_GO_VERSION" == "1.7.1" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then + - if [ "$TRAVIS_GO_VERSION" == "1.7.3" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; make docker_deploy tag=$TRAVIS_TAG; fi