travis: explicitly enable go modules in Go 1.11 and 1.12

ChrisChinchilla-patch-3
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 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:
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

Loading…
Cancel
Save