From c885ae90311712c614866b0491bfb74f5b34ad57 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 21 May 2016 20:38:49 +0200 Subject: [PATCH] travis-ci: set MAVEN_OPTS in ~/.mavenrc See http://stackoverflow.com/questions/29201549/travis-ci-ignoring-maven-opts --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e368bbd90a..7789a1ef36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: java before_install: - - MAVEN_OPTS="-Xms1g -Xmx1g" - - export MAVEN_OPTS + - echo "MAVEN_OPTS='-Xms1g -Xmx1g'" > ~/.mavenrc before_script: - SHOULD_DEPLOY=no - '[ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && SHOULD_DEPLOY=yes || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )'