travis: explicitly enable go modules in Go 1.11 and 1.12

parent 15fb780d
...@@ -19,6 +19,8 @@ jobs: ...@@ -19,6 +19,8 @@ jobs:
os: linux os: linux
dist: xenial dist: xenial
go: 1.11.x go: 1.11.x
env:
- GO111MODULE=on
script: script:
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES - go run build/ci.go test -coverage $TEST_PACKAGES
...@@ -27,6 +29,8 @@ jobs: ...@@ -27,6 +29,8 @@ jobs:
os: linux os: linux
dist: xenial dist: xenial
go: 1.12.x go: 1.12.x
env:
- GO111MODULE=on
script: script:
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES - go run build/ci.go test -coverage $TEST_PACKAGES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment