Skip to content

Commit

Permalink
Use less memory for linting (#3888)
Browse files Browse the repository at this point in the history
Signed-off-by: David Gageot <[email protected]>
  • Loading branch information
dgageot authored Mar 30, 2020
1 parent 0fb5a24 commit bae0da9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ fi

VERBOSE=""
if [[ "${TRAVIS}" == "true" ]]; then
# Use less memory on Travis
# See https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
export GOGC=10
VERBOSE="-v --print-resources-usage"
fi

Expand Down

0 comments on commit bae0da9

Please sign in to comment.