Merge branch 'travis-fix' into pmd/5.3.x
This commit is contained in:
@ -1,10 +1,14 @@
|
||||
language: java
|
||||
before_script:
|
||||
- SHOULD_DEPLOY=no
|
||||
- '[ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && SHOULD_DEPLOY=yes'
|
||||
- export SHOULD_DEPLOY
|
||||
matrix:
|
||||
include:
|
||||
- jdk: oraclejdk7
|
||||
script:
|
||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && mvn test deploy --settings .travis-settings.xml || ( [ "${TRAVIS_PULL_REQUEST}" != "false" ] && echo "Skipping Deploy - it is a pull request" )'
|
||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || mvn test'
|
||||
- '[ "${SHOULD_DEPLOY}" = "yes" ] && mvn test deploy --settings .travis-settings.xml || ( [ "${SHOULD_DEPLOY}" != "yes" ] && echo "Skipping Deploy" )'
|
||||
- '[ "${SHOULD_DEPLOY}" = "yes" ] || mvn test'
|
||||
- jdk: oraclejdk8
|
||||
script: mvn test
|
||||
branches:
|
||||
|
Reference in New Issue
Block a user