diff options
author | Tatu Saloranta <tatu.saloranta@iki.fi> | 2020-07-23 20:55:50 -0700 |
---|---|---|
committer | Tatu Saloranta <tatu.saloranta@iki.fi> | 2020-07-23 20:55:50 -0700 |
commit | c1f2e4c7067ddb45442b1e1eec3f2ff2b73ead62 (patch) | |
tree | b15f1dcdab989167e23ddd10baf55aa48cd704c4 /.travis.yml | |
parent | d9c0332e5ad76d7e4f35d9906f0b8e94a5237627 (diff) | |
download | jackson-databind-c1f2e4c7067ddb45442b1e1eec3f2ff2b73ead62.tar.gz |
minor tweaking of travis build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
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: |