travis: explicitly enable go modules in Go 1.11 and 1.12

This commit is contained in:
Péter Szilágyi 2019-11-18 14:47:17 +02:00
parent 15fb780de6
commit dfdb204b48
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -19,6 +19,8 @@ jobs:
os: linux
dist: xenial
go: 1.11.x
env:
- GO111MODULE=on
script:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES
@ -27,6 +29,8 @@ jobs:
os: linux
dist: xenial
go: 1.12.x
env:
- GO111MODULE=on
script:
- go run build/ci.go install
- go run build/ci.go test -coverage $TEST_PACKAGES