travis: skip vet install for 386 (#2018)

This commit is contained in:
Menghan Li 2018-04-24 13:20:09 -07:00 committed by GitHub
parent e8a6e2844b
commit 9c2d308aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,10 +15,10 @@ matrix:
go_import_path: google.golang.org/grpc go_import_path: google.golang.org/grpc
before_install: before_install:
- if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
- if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi
script: script:
- if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
- if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
- make test || exit 1 - make test || exit 1
- if [[ "$GOARCH" != "386" ]]; then make testrace; fi - if [[ "$GOARCH" != "386" ]]; then make testrace; fi