Skip to content

Commit

Permalink
Merge pull request #1228 from sirupsen/travis_upd
Browse files Browse the repository at this point in the history
update travis scripts
  • Loading branch information
dgsb committed Feb 14, 2021
2 parents c6da052 + 003c63a commit f513f99
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions travis/install.sh
Expand Up @@ -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

0 comments on commit f513f99

Please sign in to comment.