diff --git a/.travis.yml b/.travis.yml index 413881a1..f3094b04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,13 @@ go: matrix: include: - go: 1.9.x - env: ARCH=386 + env: GOARCH=386 go_import_path: google.golang.org/grpc 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: - - 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