aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatu Saloranta <tatu.saloranta@iki.fi>2020-07-23 20:55:50 -0700
committerTatu Saloranta <tatu.saloranta@iki.fi>2020-07-23 20:55:50 -0700
commitc1f2e4c7067ddb45442b1e1eec3f2ff2b73ead62 (patch)
treeb15f1dcdab989167e23ddd10baf55aa48cd704c4
parentd9c0332e5ad76d7e4f35d9906f0b8e94a5237627 (diff)
downloadjackson-databind-c1f2e4c7067ddb45442b1e1eec3f2ff2b73ead62.tar.gz
minor tweaking of travis build
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4b1d45a5e..830bbdade 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,8 +19,7 @@ cache:
# 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 -B source:jar javadoc:jar deploy --settings target/travis/settings.xml"
+script: "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && mvn -B source:jar deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml"
# whitelist
branches: