From e522441b7a072a20423fc1d42e4117eac7500938 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 21 May 2016 20:04:12 +0200 Subject: [PATCH] Try to increase memory for travis-ci --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 97d0fa6d6a..5edd7942dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,16 @@ before_script: - SHOULD_DEPLOY=no - '[ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && SHOULD_DEPLOY=yes || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )' - export SHOULD_DEPLOY + - MAVEN_OPTS="-Xms1g -Xmx1g" + - export MAVEN_OPTS matrix: include: - jdk: oraclejdk7 script: mvn test - jdk: oraclejdk8 script: - - '[ "${SHOULD_DEPLOY}" = "yes" ] && MAVEN_OPTS="-Xmx768m" mvn test deploy --settings .travis-settings.xml || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )' - - '[ "${SHOULD_DEPLOY}" = "yes" ] || MAVEN_OPTS="-Xmx768m" mvn test' + - '[ "${SHOULD_DEPLOY}" = "yes" ] && mvn test deploy --settings .travis-settings.xml || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )' + - '[ "${SHOULD_DEPLOY}" = "yes" ] || mvn test' branches: except: - /^pmd_releases\/\d/