Skip to content

Commit 3439033

Browse files
holimanDoozers
authored andcommitted
.travis: set lower GOGC value (ethereum#28705)
As documented on https://golangci-lint.run/usage/performance/ , a lower GOGC value causes less peak mem consumption when running the linter. Exceeding 3Gb is a common cause for build failures, according to https://docs.travis-ci.com/user/common-build-problems/#my-build-script-is-killed-without-any-error
1 parent 60bd73e commit 3439033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
git:
2020
submodules: false # avoid cloning ethereum/tests
2121
script:
22-
- go run build/ci.go lint
22+
- GOGC=10 go run build/ci.go lint
2323

2424
# These builders create the Docker sub-images for multi-arch push and each
2525
# will attempt to push the multi-arch image if they are the last builder

0 commit comments

Comments
 (0)