travis-ci: set MAVEN_OPTS in ~/.mavenrc
See http://stackoverflow.com/questions/29201549/travis-ci-ignoring-maven-opts
This commit is contained in:
@ -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" )'
|
||||
|
Reference in New Issue
Block a user