travis, appveyor: force GO111MODULE=on for every build

This commit is contained in:
Péter Szilágyi 2020-04-14 12:18:45 +03:00
parent 0a958f1ebd
commit 1700fd1215
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D
2 changed files with 13 additions and 0 deletions

View file

@ -60,6 +60,8 @@ jobs:
arch: amd64 arch: amd64
dist: xenial dist: xenial
go: 1.14.x go: 1.14.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
@ -70,6 +72,8 @@ jobs:
arch: arm64 arch: arm64
dist: xenial dist: xenial
go: 1.14.x go: 1.14.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
@ -78,6 +82,8 @@ jobs:
os: osx os: osx
osx_image: xcode11.3 osx_image: xcode11.3
go: 1.14.x go: 1.14.x
env:
- GO111MODULE=on
script: script:
- echo "Increase the maximum number of open file descriptors on macOS" - echo "Increase the maximum number of open file descriptors on macOS"
- NOFILE=20480 - NOFILE=20480
@ -99,6 +105,7 @@ jobs:
go: 1.14.x go: 1.14.x
env: env:
- ubuntu-ppa - ubuntu-ppa
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
addons: addons:
@ -123,6 +130,7 @@ jobs:
go: 1.14.x go: 1.14.x
env: env:
- azure-linux - azure-linux
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
addons: addons:
@ -159,6 +167,7 @@ jobs:
go: 1.14.x go: 1.14.x
env: env:
- azure-linux-mips - azure-linux-mips
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
script: script:
@ -199,6 +208,7 @@ jobs:
env: env:
- azure-android - azure-android
- maven-android - maven-android
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
before_install: before_install:
@ -225,6 +235,7 @@ jobs:
- azure-osx - azure-osx
- azure-ios - azure-ios
- cocoapods-ios - cocoapods-ios
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
script: script:
@ -254,6 +265,7 @@ jobs:
go: 1.14.x go: 1.14.x
env: env:
- azure-purge - azure-purge
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
script: script:

View file

@ -6,6 +6,7 @@ clone_depth: 5
version: "{branch}.{build}" version: "{branch}.{build}"
environment: environment:
global: global:
GO111MODULE: on
GOPATH: C:\gopath GOPATH: C:\gopath
CC: gcc.exe CC: gcc.exe
matrix: matrix: