diff options
author | Tatu Saloranta <tatu.saloranta@iki.fi> | 2020-07-23 18:09:20 -0700 |
---|---|---|
committer | Tatu Saloranta <tatu.saloranta@iki.fi> | 2020-07-23 18:09:20 -0700 |
commit | f7d5b848abdced707a76b1fc63a1519e7a77493e (patch) | |
tree | e03281f55bb69783a20e4f8600012d8a3e0d2b71 | |
parent | 76e40d535e7122c9883a1c7e80aee48af3931f41 (diff) | |
download | jackson-core-f7d5b848abdced707a76b1fc63a1519e7a77493e.tar.gz |
Minor cleanup of .travis.yml
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 362eea31..7c6e227e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,18 +4,17 @@ language: java # build won't work with anything below Java 8 now jdk: - openjdk8 - - oraclejdk11 + - openjdk11 # Below this line is configuration for deploying to the Sonatype OSS repo # https://knowm.org/configure-travis-ci-to-deploy-snapshots/ before_install: "git clone -b travis `git config --get remote.origin.url` target/travis" -after_success: "mvn deploy --settings target/travis/settings.xml" +script: "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && mvn clean deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml" # whitelist branches: only: - - master - "2.10" env: |