Make travis 32-bit actually work (#1621)

This commit is contained in:
dfawley
2017-10-25 15:59:19 -07:00
committed by lyuxuan
parent 33ee217d11
commit b5eab4ccac

View File

@ -9,13 +9,13 @@ go:
matrix: matrix:
include: include:
- go: 1.9.x - go: 1.9.x
env: ARCH=386 env: GOARCH=386
go_import_path: google.golang.org/grpc go_import_path: google.golang.org/grpc
before_install: before_install:
- if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$ARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi - if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi
script: script:
- if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$ARCH" != "386" ]]; then ./vet.sh || exit 1; fi - if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
- make test testrace - make test testrace