From 6d7dee617561705a38113faf2385e03acd72b90b Mon Sep 17 00:00:00 2001 From: Nikolay Stupak Date: Fri, 26 Jul 2019 19:21:04 +0300 Subject: [PATCH] build: fix loading golangci-lint --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ./...