summaryrefslogtreecommitdiffstats
path: root/vendor/google.golang.org/grpc/.travis.yml
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-08-28 10:05:26 -0700
committerGitHub <noreply@github.com>2018-08-28 10:05:26 -0700
commit61e27beabc9804fdcf59ed9df2180802175a4f70 (patch)
tree52c86f5cdbd4e13d05b8f9dddad1a01b88e26cab /vendor/google.golang.org/grpc/.travis.yml
parent347ee1d205c95f5fd766e206cc65bfb9782a2623 (diff)
downloadchat-61e27beabc9804fdcf59ed9df2180802175a4f70.tar.gz
chat-61e27beabc9804fdcf59ed9df2180802175a4f70.tar.bz2
chat-61e27beabc9804fdcf59ed9df2180802175a4f70.zip
Updating dependancies. (#9303)
Diffstat (limited to 'vendor/google.golang.org/grpc/.travis.yml')
-rw-r--r--vendor/google.golang.org/grpc/.travis.yml32
1 files changed, 21 insertions, 11 deletions
diff --git a/vendor/google.golang.org/grpc/.travis.yml b/vendor/google.golang.org/grpc/.travis.yml
index 3c2621ab7..5b5bfb13d 100644
--- a/vendor/google.golang.org/grpc/.travis.yml
+++ b/vendor/google.golang.org/grpc/.travis.yml
@@ -1,24 +1,34 @@
language: go
-go:
- - 1.6.x
- - 1.7.x
- - 1.8.x
- - 1.9.x
- - 1.10.x
-
matrix:
include:
- go: 1.10.x
+ env: VET=1 RACE=1
+ - go: 1.6.x
+ - go: 1.7.x
+ - go: 1.8.x
+ - go: 1.9.x
+ - go: 1.9.x
+ env: GAE=1
+ - go: 1.10.x
env: RUN386=1
+ - go: 1.10.x
+ env: GRPC_GO_RETRY=on
go_import_path: google.golang.org/grpc
before_install:
- if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
- - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi
+ - if [[ "$TRAVIS_EVENT_TYPE" = "cron" && -z "$RUN386" ]]; then RACE=1; fi
+ - if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]]; then VET_SKIP_PROTO=1; fi
+
+install:
+ - if [[ "$GAE" = 1 ]]; then source ./install_gae.sh; fi
+ - if [[ "$VET" = 1 ]]; then ./vet.sh -install; fi
script:
- - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
- - make test || exit 1
- - if [[ "$GOARCH" != "386" ]]; then make testrace; fi
+ - set -e
+ - if [[ "$GAE" = 1 ]]; then make testappengine; exit 0; fi
+ - if [[ "$VET" = 1 ]]; then ./vet.sh; fi
+ - make test
+ - if [[ "$RACE" = 1 ]]; then make testrace; fi