ceph-csi/vendor/google.golang.org/grpc/.travis.yml

25 lines
517 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
language: go
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
2018-07-18 14:47:22 +00:00
- 1.10.x
2018-01-09 18:57:14 +00:00
matrix:
include:
2018-07-18 14:47:22 +00:00
- go: 1.10.x
2018-01-09 18:57:14 +00:00
env: RUN386=1
go_import_path: google.golang.org/grpc
before_install:
2018-07-18 14:47:22 +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
2018-01-09 18:57:14 +00:00
script:
2018-07-18 14:47:22 +00:00
- if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
2018-01-09 18:57:14 +00:00
- make test || exit 1
- if [[ "$GOARCH" != "386" ]]; then make testrace; fi