From 710b9920378d3084ddd4129219e6e3382cedd5a2 Mon Sep 17 00:00:00 2001 From: Tyler Treat Date: Wed, 7 Jun 2017 09:51:46 -0500 Subject: [PATCH] Fix 1.6 build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2c747f7d..076a0633 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