blob: 3c2621ab750a4562acffad48dd5a32c889057150 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001language: go
2
3go:
4 - 1.6.x
5 - 1.7.x
6 - 1.8.x
7 - 1.9.x
8 - 1.10.x
9
10matrix:
11 include:
12 - go: 1.10.x
13 env: RUN386=1
14
15go_import_path: google.golang.org/grpc
16
17before_install:
18 - if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
19 - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi
20
21script:
22 - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
23 - make test || exit 1
24 - if [[ "$GOARCH" != "386" ]]; then make testrace; fi