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

25 lines
517 B
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
language: go
2019-09-25 05:00:42 +00:00
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
2019-01-12 04:58:27 +00:00
matrix:
include:
2019-09-05 18:55:53 +00:00
- go: 1.10.x
2019-09-25 05:00:42 +00:00
env: RUN386=1
2019-01-12 04:58:27 +00:00
go_import_path: google.golang.org/grpc
before_install:
2019-09-25 05:00:42 +00:00
- if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
- if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi
2019-01-12 04:58:27 +00:00
script:
2019-09-25 05:00:42 +00:00
- 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