diff --git a/.travis.yml b/.travis.yml index 2bed8e1..7203a2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ cache: - "$GOPATH/pkg/mod" - "$GOPATH/bin" -install: "(cd $HOME && go get -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0)" +install: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 script: - go test -v -coverprofile=coverage.txt ./...