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
This commit is contained in:
Eric Anderson 2015-03-24 09:35:38 -07:00
parent 2cbbd4706a
commit a3b353ce54
1 changed files with 0 additions and 1 deletions

View File

@ -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