Add MAVEN_OPTS="-Xmx500m" for travis-ci

This commit is contained in:
Andreas Dangel
2016-04-23 21:10:53 +02:00
parent a00e4d439e
commit cead3d3a9b

View File

@ -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/