.travis: set lower GOGC value (#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
pull/28706/head
Martin HS 11 months ago committed by GitHub
parent 952b343cb3
commit 5a9dda64ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .travis.yml

@ -19,7 +19,7 @@ jobs:
git: git:
submodules: false # avoid cloning ethereum/tests submodules: false # avoid cloning ethereum/tests
script: script:
- go run build/ci.go lint - GOGC=10 go run build/ci.go lint
# These builders create the Docker sub-images for multi-arch push and each # These builders create the Docker sub-images for multi-arch push and each
# will attempt to push the multi-arch image if they are the last builder # will attempt to push the multi-arch image if they are the last builder

Loading…
Cancel
Save