diff --git a/.golangci.yml b/.golangci.yml index 1ffef44b..ee9246b2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,6 @@ run: # timeout for analysis - deadline: 4m + deadline: 10m # Skip autogenerated files for mobile. skip-files: diff --git a/.travis.yml b/.travis.yml index fd3f5446..ad87c799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,8 +44,8 @@ jobs: # in a GitHub Workflow. - make unit pkg=... case=_NONE_ - # Step 3: Lint go code. Limit to 1 worker to reduce memory usage. - - make lint workers=1 + # Step 3: Lint go code. Invoke GC more often to reduce memory usage. + - GOGC=30 make lint - stage: Integration Test name: Btcd Integration