travis: get rid of old useless GO111MODULE directives (#27991)

pull/27994/head
Péter Szilágyi 1 year ago committed by GitHub
parent 76d4ac1acb
commit 52219ced8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .travis.yml
  2. 4
      Makefile

@ -66,7 +66,6 @@ jobs:
go: 1.21.x go: 1.21.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:
@ -100,7 +99,6 @@ jobs:
go: 1.21.x go: 1.21.x
env: env:
- azure-osx - azure-osx
- GO111MODULE=on
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
script: script:
@ -113,8 +111,6 @@ jobs:
arch: amd64 arch: amd64
dist: bionic dist: bionic
go: 1.21.x go: 1.21.x
env:
- GO111MODULE=on
script: script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES - travis_wait 30 go run build/ci.go test $TEST_PACKAGES
@ -124,8 +120,6 @@ jobs:
arch: arm64 arch: arm64
dist: bionic dist: bionic
go: 1.20.x go: 1.20.x
env:
- GO111MODULE=on
script: script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES - travis_wait 30 go run build/ci.go test $TEST_PACKAGES
@ -133,8 +127,6 @@ jobs:
os: linux os: linux
dist: bionic dist: bionic
go: 1.20.x go: 1.20.x
env:
- GO111MODULE=on
script: script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES - travis_wait 30 go run build/ci.go test $TEST_PACKAGES
@ -146,7 +138,6 @@ jobs:
go: 1.21.x go: 1.21.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:
@ -170,7 +161,6 @@ jobs:
go: 1.21.x go: 1.21.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:
@ -182,8 +172,6 @@ jobs:
os: linux os: linux
dist: bionic dist: bionic
go: 1.21.x go: 1.21.x
env:
- GO111MODULE=on
script: script:
- travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES - travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES

@ -6,7 +6,7 @@
GOBIN = ./build/bin GOBIN = ./build/bin
GO ?= latest GO ?= latest
GORUN = env GO111MODULE=on go run GORUN = go run
geth: geth:
$(GORUN) build/ci.go install ./cmd/geth $(GORUN) build/ci.go install ./cmd/geth
@ -23,7 +23,7 @@ lint: ## Run linters.
$(GORUN) build/ci.go lint $(GORUN) build/ci.go lint
clean: clean:
env GO111MODULE=on go clean -cache go clean -cache
rm -fr build/_workspace/pkg/ $(GOBIN)/* rm -fr build/_workspace/pkg/ $(GOBIN)/*
# The devtools target installs tools required for 'go generate'. # The devtools target installs tools required for 'go generate'.

Loading…
Cancel
Save