travis-ci: set MAVEN_OPTS in ~/.mavenrc

See http://stackoverflow.com/questions/29201549/travis-ci-ignoring-maven-opts
This commit is contained in:
Andreas Dangel
2016-05-21 20:38:49 +02:00
parent 69e0068f04
commit c885ae9031

View File

@ -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" )'