Skip to content

Commit

Permalink
travis: get rid of old useless GO111MODULE directives (#27991)
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe authored Aug 23, 2023
1 parent 76d4ac1 commit 52219ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
go: 1.21.x
env:
- azure-linux
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
addons:
Expand Down Expand Up @@ -100,7 +99,6 @@ jobs:
go: 1.21.x
env:
- azure-osx
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
script:
Expand All @@ -113,8 +111,6 @@ jobs:
arch: amd64
dist: bionic
go: 1.21.x
env:
- GO111MODULE=on
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

Expand All @@ -124,17 +120,13 @@ jobs:
arch: arm64
dist: bionic
go: 1.20.x
env:
- GO111MODULE=on
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

- stage: build
os: linux
dist: bionic
go: 1.20.x
env:
- GO111MODULE=on
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

Expand All @@ -146,7 +138,6 @@ jobs:
go: 1.21.x
env:
- ubuntu-ppa
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
addons:
Expand All @@ -170,7 +161,6 @@ jobs:
go: 1.21.x
env:
- azure-purge
- GO111MODULE=on
git:
submodules: false # avoid cloning ethereum/tests
script:
Expand All @@ -182,8 +172,6 @@ jobs:
os: linux
dist: bionic
go: 1.21.x
env:
- GO111MODULE=on
script:
- travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

GOBIN = ./build/bin
GO ?= latest
GORUN = env GO111MODULE=on go run
GORUN = go run

geth:
$(GORUN) build/ci.go install ./cmd/geth
Expand All @@ -23,7 +23,7 @@ lint: ## Run linters.
$(GORUN) build/ci.go lint

clean:
env GO111MODULE=on go clean -cache
go clean -cache
rm -fr build/_workspace/pkg/ $(GOBIN)/*

# The devtools target installs tools required for 'go generate'.
Expand Down

0 comments on commit 52219ce

Please sign in to comment.