diff --git a/.travis.yml b/.travis.yml index 5971d6d..dd5e4f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,7 @@ services: - rabbitmq before_install: -- export GO111MODULE=on -- go get github.com/golang/lint/golint +- go get -u golang.org/x/lint/golint - go get github.com/gordonklaus/ineffassign - go get github.com/fzipp/gocyclo - go get github.com/client9/misspell/cmd/misspell @@ -15,7 +14,7 @@ before_install: - go get github.com/mattn/goveralls script: -- "./pre-commit" +- GO111MODULE=on "./pre-commit" - GO111MODULE=on make test - GO111MODULE=on make build-all - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN