forked from phoedos/pmd
Try to increase memory for travis-ci
This commit is contained in:
@ -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/
|
||||
|
Reference in New Issue
Block a user