travis: explicitly enable go modules in Go 1.11 and 1.12

pull/20311/head
Péter Szilágyi 5 years ago
parent 15fb780de6
commit dfdb204b48
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
  1. 4
      .travis.yml

@ -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

Loading…
Cancel
Save