diff --git a/.travis.yml b/.travis.yml index 65ae29eb8..3c2621ab7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,10 +15,10 @@ matrix: go_import_path: google.golang.org/grpc 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 script: - - if [[ -n "$RUN386" ]]; then export GOARCH=386; fi - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi - make test || exit 1 - if [[ "$GOARCH" != "386" ]]; then make testrace; fi