Try to increase memory for travis-ci

This commit is contained in:
Andreas Dangel
2016-05-21 20:04:12 +02:00
parent 8b0b6f3e4b
commit e522441b7a

View File

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