diff --git a/.travis.yml b/.travis.yml index bbda09d..7871633 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,5 +24,5 @@ script: - go test - INTEGRATION=TRUE go test - go build -v ./ - - go get -u github.com/golangci/golangci-lint/cmd/golangci-lint && golangci-lint run -v + - if [[ "$(go version)" =~ "go version go1.11" ]]; then exit 0; else go get -u github.com/golangci/golangci-lint/cmd/golangci-lint && golangci-lint run -v; fi