Skip to content

Commit 0a7550b

Browse files
committed
Merge branch '2.11' into 2.12
2 parents 9ee0149 + fb0b946 commit 0a7550b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.travis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ branches:
1414
- master
1515
- "2.12"
1616

17-
# 2019-11-26, tatu: Let's try caching Maven dependencies
18-
cache:
19-
directories:
20-
- $HOME/.m2
21-
2217
# Below this line is configuration for deploying to the Sonatype OSS repo
2318
# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
2419
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"
20+
script: "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && mvn clean deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml"
2721

2822
env:
2923
global:

0 commit comments

Comments
 (0)