build: fix loading golangci-lint

This commit is contained in:
Nikolay Stupak 2019-07-26 19:21:04 +03:00
parent 4372cf72f2
commit 6d7dee6175
1 changed files with 1 additions and 1 deletions

View File

@ -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 ./...