summaryrefslogtreecommitdiffstats
path: root/vendor/google.golang.org/grpc/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/google.golang.org/grpc/.travis.yml')
-rw-r--r--vendor/google.golang.org/grpc/.travis.yml36
1 files changed, 20 insertions, 16 deletions
diff --git a/vendor/google.golang.org/grpc/.travis.yml b/vendor/google.golang.org/grpc/.travis.yml
index 5b5bfb13d..fa501a990 100644
--- a/vendor/google.golang.org/grpc/.travis.yml
+++ b/vendor/google.golang.org/grpc/.travis.yml
@@ -2,33 +2,37 @@ language: go
matrix:
include:
+ - go: 1.11.x
+ env: VET=1 GO111MODULE=on
+ - go: 1.11.x
+ env: RACE=1 GO111MODULE=on
+ - go: 1.11.x
+ env: RUN386=1
+ - go: 1.11.x
+ env: GRPC_GO_RETRY=on
- 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: 1.8.x
+ - go: 1.6.x
go_import_path: google.golang.org/grpc
before_install:
- - if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
- - if [[ "$TRAVIS_EVENT_TYPE" = "cron" && -z "$RUN386" ]]; then RACE=1; fi
- - if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]]; then VET_SKIP_PROTO=1; fi
+ - if [[ "${GO111MODULE}" = "on" ]]; then mkdir "${HOME}/go"; export GOPATH="${HOME}/go"; fi
+ - if [[ -n "${RUN386}" ]]; then export GOARCH=386; 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
+ - if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else make testdeps; fi
+ - if [[ "${GAE}" = 1 ]]; then source ./install_gae.sh; make testappenginedeps; fi
+ - if [[ "${VET}" = 1 ]]; then ./vet.sh -install; fi
script:
- set -e
- - if [[ "$GAE" = 1 ]]; then make testappengine; exit 0; fi
- - if [[ "$VET" = 1 ]]; then ./vet.sh; fi
+ - if [[ "${VET}" = 1 ]]; then ./vet.sh; fi
+ - if [[ "${GAE}" = 1 ]]; then make testappengine; exit 0; fi
+ - if [[ "${RACE}" = 1 ]]; then make testrace; exit 0; fi
- make test
- - if [[ "$RACE" = 1 ]]; then make testrace; fi