Index: .travis.yml |
diff --git a/.travis.yml b/.travis.yml |
index 638d04d7a66c17bf3216809d824b7f8e79f94b18..668a8499fd9b3c0633c38807922ddc93e93ccf68 100644 |
--- a/.travis.yml |
+++ b/.travis.yml |
@@ -2,7 +2,13 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-sudo: false |
+# {sudo: required, dist: trusty} is the magic incantation to pick the trusty |
+# beta environment, which is the only environment we can get that has >4GB |
+# memory. Currently the `go test -race` tests that we run will peak at just |
+# over 4GB, which results in everything getting OOM-killed. |
+sudo: required |
+dist: trusty |
+ |
language: go |
go: |
@@ -12,4 +18,4 @@ before_install: |
- go get github.com/maruel/pre-commit-go/cmd/pcg |
script: |
- - pcg |
+ - pcg -C 16 |