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

43 lines
1.3 KiB
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
language: go
matrix:
include:
2020-01-21 18:14:47 +00:00
- go: 1.13.x
2019-09-27 21:51:53 +00:00
env: VET=1 GO111MODULE=on
2020-01-21 18:14:47 +00:00
- go: 1.13.x
2019-09-27 21:51:53 +00:00
env: RACE=1 GO111MODULE=on
2020-01-21 18:14:47 +00:00
- go: 1.13.x
2019-09-25 05:00:42 +00:00
env: RUN386=1
2020-01-21 18:14:47 +00:00
- go: 1.13.x
2019-09-27 21:51:53 +00:00
env: GRPC_GO_RETRY=on
2020-01-21 18:14:47 +00:00
- go: 1.13.x
2020-03-26 21:07:15 +00:00
env: TESTEXTRAS=1
2020-01-21 18:14:47 +00:00
- go: 1.12.x
env: GO111MODULE=on
2019-09-27 21:51:53 +00:00
- go: 1.11.x
env: GO111MODULE=on
- go: 1.9.x
env: GAE=1
2019-01-12 04:58:27 +00:00
go_import_path: google.golang.org/grpc
before_install:
2019-09-27 21:51:53 +00:00
- 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-12-12 01:27:03 +00:00
- if [[ "${TRAVIS_EVENT_TYPE}" != "cron" ]]; then export VET_SKIP_PROTO=1; fi
2019-09-27 21:51:53 +00:00
install:
- try3() { eval "$*" || eval "$*" || eval "$*"; }
- try3 'if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else make testdeps; fi'
2020-01-21 18:14:47 +00:00
- if [[ -n "${GAE}" ]]; then source ./install_gae.sh; make testappenginedeps; fi
- if [[ -n "${VET}" ]]; then ./vet.sh -install; fi
2019-01-12 04:58:27 +00:00
script:
2019-09-27 21:51:53 +00:00
- set -e
- if [[ -n "${TESTEXTRAS}" ]]; then examples/examples_test.sh; interop/interop_test.sh; make testsubmodule; exit 0; fi
2020-01-21 18:14:47 +00:00
- 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-09-27 21:51:53 +00:00
- make test