diff --git a/.travis.yml b/.travis.yml index 2c747f7d163..076a0633642 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_script: - gosimple $EXCLUDE_VENDOR - misspell -error -locale US . - staticcheck $EXCLUDE_VENDOR -- ./scripts/cross_compile.sh $TRAVIS_TAG +- if [[ "$TRAVIS_GO_VERSION" == 1.7.* ]]; then ./scripts/cross_compile.sh $TRAVIS_TAG; fi script: - go test -i -race $EXCLUDE_VENDOR - go test -v -race $EXCLUDE_VENDOR