Exclude go1.13.x from modules off, only build all on go1.13 modules on

This commit is contained in:
Edward Muller
2019-10-13 17:25:32 -07:00
parent 08cf62cb80
commit 68e6dbbcb7
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.13\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$GO111MODULE" == "on" ]]; then
$(go env GOPATH)/bin/gox -build-lib
fi