add 1.7.3 testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
97e29459d9
commit
731c35baa6
12
.drone.yml
12
.drone.yml
|
@ -21,7 +21,7 @@ pipeline:
|
|||
when:
|
||||
status: [ success, failure ]
|
||||
matrix:
|
||||
GO_VERSION: 1.7.1
|
||||
GO_VERSION: 1.7.3
|
||||
|
||||
gtalk:
|
||||
image: appleboy/drone-gtalk
|
||||
|
@ -30,7 +30,7 @@ pipeline:
|
|||
when:
|
||||
status: [ success, failure ]
|
||||
matrix:
|
||||
GO_VERSION: 1.7.1
|
||||
GO_VERSION: 1.7.3
|
||||
|
||||
facebook:
|
||||
image: appleboy/drone-facebook
|
||||
|
@ -39,7 +39,7 @@ pipeline:
|
|||
when:
|
||||
status: [ success, failure ]
|
||||
matrix:
|
||||
GO_VERSION: 1.7.1
|
||||
GO_VERSION: 1.7.3
|
||||
|
||||
telegram:
|
||||
image: appleboy/drone-telegram
|
||||
|
@ -48,7 +48,7 @@ pipeline:
|
|||
when:
|
||||
status: [ success, failure ]
|
||||
matrix:
|
||||
GO_VERSION: 1.7.1
|
||||
GO_VERSION: 1.7.3
|
||||
|
||||
# rebuild the cache on the sftp server
|
||||
rebuild_cache:
|
||||
|
@ -59,7 +59,7 @@ pipeline:
|
|||
when:
|
||||
branch: master
|
||||
matrix:
|
||||
GO_VERSION: 1.7.1
|
||||
GO_VERSION: 1.7.3
|
||||
|
||||
services:
|
||||
redis:
|
||||
|
@ -70,5 +70,5 @@ workspace:
|
|||
|
||||
matrix:
|
||||
GO_VERSION:
|
||||
- 1.7.1
|
||||
- 1.7.3
|
||||
- 1.6.3
|
||||
|
|
|
@ -1 +1 @@
|
|||
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgIyByZXN0b3JlIHRoZSBjYWNoZSBmcm9tIGFuIHNmdHAgc2VydmVyCiAgcmVzdG9yZV9jYWNoZToKICAgIGltYWdlOiBhcHBsZWJveS9kcm9uZS1zZn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ogWyAuZ2xpZGUsIHZlbmRvciBdCiAgICBpZ25vcmVfYnJhbmNoOiB0cnVlCiAgICB3aGVuOgogICAgICBicmFuY2g6IG1hc3RlcgogICAgICBtYXRyaXg6CiAgICAgICAgR09fVkVSU0lPTjogMS43LjMKCnNlcnZpY2VzOgogIHJlZGlzOgogICAgaW1hZ2U6IHJlZGlzOmFscGluZQoKd29ya3NwYWNlOgogIHBhdGg6IC9nby9zcmMvZ2l0aHViLmNvbS9hcHBsZWJveS9nb3J1c2gKCm1hdHJpeDoKICBHT19WRVJTSU9OOgogICAgLSAxLjcuMwogICAgLSAxLjYuMwo.11eupDo9jOWiWxPfzOXSwJkyN9UH8zkdcosJ_2_EQQw
|
|
@ -8,7 +8,7 @@ services:
|
|||
go:
|
||||
- 1.5.4
|
||||
- 1.6.3
|
||||
- 1.7.1
|
||||
- 1.7.3
|
||||
- tip
|
||||
|
||||
cache:
|
||||
|
@ -40,12 +40,12 @@ script:
|
|||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -f .cover/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
|
||||
|
|
Loading…
Reference in New Issue