We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ee22cb commit fb0b946Copy full SHA for fb0b946
.travis.yml
@@ -14,16 +14,10 @@ branches:
14
- master
15
- "2.11"
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