We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ee0149 + fb0b946 commit 0a7550bCopy full SHA for 0a7550b
.travis.yml
@@ -14,16 +14,10 @@ branches:
14
- master
15
- "2.12"
16
17
-# 2019-11-26, tatu: Let's try caching Maven dependencies
18
-cache:
19
- directories:
20
- - $HOME/.m2
21
-
22
# Below this line is configuration for deploying to the Sonatype OSS repo
23
# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
24
before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
25
-after_success:
26
- - "mvn -B source:jar javadoc:jar 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"
27
28
env:
29
global:
0 commit comments