Add 1.7.3 version testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
e2fc930461
commit
8b2af04235
@ -7,7 +7,7 @@ services:
|
|||||||
go:
|
go:
|
||||||
- 1.5.4
|
- 1.5.4
|
||||||
- 1.6.3
|
- 1.6.3
|
||||||
- 1.7.1
|
- 1.7.3
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -42,12 +42,12 @@ after_success:
|
|||||||
- sed -i '/main.go/d' coverage.txt
|
- sed -i '/main.go/d' coverage.txt
|
||||||
- bash <(curl -s https://codecov.io/bash) -f coverage.txt
|
- bash <(curl -s https://codecov.io/bash) -f coverage.txt
|
||||||
# deploy from master
|
# 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";
|
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
||||||
make docker_deploy tag=latest;
|
make docker_deploy tag=latest;
|
||||||
fi
|
fi
|
||||||
# deploy from tag
|
# 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";
|
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
||||||
make docker_deploy tag=$TRAVIS_TAG;
|
make docker_deploy tag=$TRAVIS_TAG;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user