From cead3d3a9b055af180da103cfd59800f439d4e60 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 23 Apr 2016 21:10:53 +0200 Subject: [PATCH] Add MAVEN_OPTS="-Xmx500m" for travis-ci --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 86be84d334..1611b57653 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,8 @@ matrix: script: mvn test - jdk: oraclejdk8 script: - - '[ "${SHOULD_DEPLOY}" = "yes" ] && mvn test deploy --settings .travis-settings.xml || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )' - - '[ "${SHOULD_DEPLOY}" = "yes" ] || mvn test' + - '[ "${SHOULD_DEPLOY}" = "yes" ] && MAVEN_OPTS="-Xmx500m" mvn test deploy --settings .travis-settings.xml || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )' + - '[ "${SHOULD_DEPLOY}" = "yes" ] || MAVEN_OPTS="-Xmx500m" mvn test' branches: except: - /^pmd_releases\/\d/