rclone/vendor/google.golang.org/grpc/.travis.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

2019-04-13 12:47:57 +00:00
language: go
matrix:
include:
2019-11-11 15:04:53 +00:00
- go: 1.13.x
2019-04-13 12:47:57 +00:00
env: VET=1 GO111MODULE=on
2019-11-11 15:04:53 +00:00
- go: 1.13.x
2019-04-13 12:47:57 +00:00
env: RACE=1 GO111MODULE=on
2019-11-11 15:04:53 +00:00
- go: 1.13.x
2019-04-13 12:47:57 +00:00
env: RUN386=1
2019-11-11 15:04:53 +00:00
- go: 1.13.x
2019-04-13 12:47:57 +00:00
env: GRPC_GO_RETRY=on
2019-11-11 15:04:53 +00:00
- go: 1.13.x
env: TESTEXAMPLES=1
- go: 1.12.x
env: GO111MODULE=on
2019-08-26 17:00:17 +00:00
- go: 1.11.x
env: GO111MODULE=on
2019-04-13 12:47:57 +00:00
- go: 1.9.x
env: GAE=1
go_import_path: google.golang.org/grpc
before_install:
- 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
2019-11-11 15:04:53 +00:00
- if [[ "${TRAVIS_EVENT_TYPE}" != "cron" ]]; then export VET_SKIP_PROTO=1; fi
2019-04-13 12:47:57 +00:00
install:
- try3() { eval "$*" || eval "$*" || eval "$*"; }
- try3 'if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else make testdeps; fi'
2019-11-11 15:04:53 +00:00
- if [[ -n "${GAE}" ]]; then source ./install_gae.sh; make testappenginedeps; fi
- if [[ -n "${VET}" ]]; then ./vet.sh -install; fi
2019-04-13 12:47:57 +00:00
script:
- set -e
2019-11-11 15:04:53 +00:00
- if [[ -n "${TESTEXAMPLES}" ]]; then examples/examples_test.sh; exit 0; fi
- if [[ -n "${VET}" ]]; then ./vet.sh; fi
- if [[ -n "${GAE}" ]]; then make testappengine; exit 0; fi
- if [[ -n "${RACE}" ]]; then make testrace; exit 0; fi
2019-04-13 12:47:57 +00:00
- make test