Skip to content

Commit

Permalink
Set GO111MODULE=on in Travis CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeffery committed Aug 14, 2019
1 parent ba94a7c commit 5cfedd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ go:
- "1.12"
- "1.11"

env:
- GO111MODULE=on

install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get golang.org/x/sys


script:
- go test -race ./...
- go test -v ./... -covermode=count -coverprofile=coverage.out
Expand Down

0 comments on commit 5cfedd7

Please sign in to comment.