pull all the install into a single location
This commit is contained in:
@@ -9,3 +9,12 @@ if [[ "$TRAVIS_GO_VERSION" =~ ^1\.12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]];
|
||||
go build ./
|
||||
popd
|
||||
fi
|
||||
|
||||
if [[ "$GO111MODULE" == "on" ]]; then
|
||||
go mod download
|
||||
fi
|
||||
|
||||
if [[ "$GO111MODULE" == "off" ]]; then
|
||||
go get github.com/stretchr/testify/assert golang.org/x/sys/unix github.com/konsorten/go-windows-terminal-sequences
|
||||
go get github.com/hashicorp/go-version github.com/hashicorp/go-version
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user