From 17ea38aabe9b388446f2787406172c89f67a0e82 Mon Sep 17 00:00:00 2001 From: akarnokd Date: Wed, 5 Oct 2016 10:42:18 +0200 Subject: [PATCH] Limit gradle memory --- gradle/buildViaTravis.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle/buildViaTravis.sh b/gradle/buildViaTravis.sh index d98e5eb603..51a1a750c2 100755 --- a/gradle/buildViaTravis.sh +++ b/gradle/buildViaTravis.sh @@ -1,6 +1,8 @@ #!/bin/bash # This script will build the project. +GRADLE_OPTS=-Xmx832m + if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" ./gradlew -Prelease.useLastTag=true build