From 6a61186a64b36798a349d1ad70de14d04c7fa6e8 Mon Sep 17 00:00:00 2001 From: David Bariod Date: Sat, 13 Feb 2021 07:07:38 +0100 Subject: [PATCH 1/2] update travis scripts * bump to go 1.16 * remove unneeded part in travis/install.sh --- .travis.yml | 2 +- travis/install.sh | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index e6ee8b3..43ddc09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ git: depth: 1 env: - GO111MODULE=on -go: 1.15.x +go: 1.16.x os: linux install: - ./travis/install.sh diff --git a/travis/install.sh b/travis/install.sh index 8cbd0d7..837c82d 100755 --- a/travis/install.sh +++ b/travis/install.sh @@ -6,12 +6,3 @@ set -e if [[ "$TRAVIS_GO_VERSION" =~ ^1\.15\. ]]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.32.2 fi - -# Only do this for go1.12 when modules are on so that it doesn't need to be done when modules are off as well. -if [[ "$TRAVIS_GO_VERSION" =~ ^1\.13\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$GO111MODULE" == "on" ]]; then - GO111MODULE=off go get github.com/dgsb/gox -fi - -if [[ "$GO111MODULE" == "on" ]]; then - go mod download -fi From 003c63ac69cb8421e10b7fd3727cc4956ba947f9 Mon Sep 17 00:00:00 2001 From: David Bariod Date: Sun, 14 Feb 2021 16:46:49 +0100 Subject: [PATCH 2/2] undo golang version bump --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 43ddc09..e6ee8b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ git: depth: 1 env: - GO111MODULE=on -go: 1.16.x +go: 1.15.x os: linux install: - ./travis/install.sh