From a3b353ce541b376e8f70a675abf2327606cdd4b6 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 24 Mar 2015 09:35:38 -0700 Subject: [PATCH] Disable Travis parallel building to reduce memory usage We were seeing errors on Travis like: > Process 'Gradle Test Executor 2' finished with non-zero exit value 137 That doesn't make much sense, other than maybe the OOM killer killing our processes. Turning off parallel execution seemed to fix the problem, so we'll just assume memory was the actual problem and doing fewer things in parallel reduces our maximum memory usage. Travis documentation seems to agree with that being a likely cause: http://docs.travis-ci.com/user/common-build-problems/#My-build-script-is-killed-without-any-error --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a0bba5a1a0..058f8b0b4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,6 @@ before_install: - buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a2 - mkdir -p $HOME/.gradle - echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties - - echo "org.gradle.parallel=true" >> $HOME/.gradle/gradle.properties jdk: - oraclejdk8