Skip to content

Commit

Permalink
ci: turn off gomodule when installing golangci-lint so go.mod and go.…
Browse files Browse the repository at this point in the history
…sum don't change
  • Loading branch information
didasy committed Sep 21, 2020
1 parent 14ccfb2 commit 48f5781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install:
- sudo apt-get -y install youtube-dl ffmpeg
- if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else go get -t -v ./...; fi
- npm install -g snyk
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
- GO111MODULE=off go install github.com/golangci/golangci-lint/cmd/golangci-lint

script:
- docker run -d -p 127.0.0.1:9000:9000 -e "MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE" -e "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" minio/minio server /data
Expand Down

0 comments on commit 48f5781

Please sign in to comment.