Skip to content

Commit ea56182

Browse files
committed
Updated travis to prevent linters from being added to go.mod
1 parent 55f266f commit ea56182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ env:
88
- GO111MODULE=on
99

1010
before_install:
11-
- go get github.com/mattn/goveralls
11+
- GO111MODULE=off go get github.com/mattn/goveralls
1212
# - go get -u github.com/reviewdog/reviewdog/cmd/reviewdog
13-
- go get -u golang.org/x/lint/golint
13+
- GO111MODULE=off go get -u golang.org/x/lint/golint
1414

1515
# Lock linter version to env: $GOLANGCI_LINT_VERSION
1616
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION-v1.17.1}

0 commit comments

Comments
 (0)