Skip to content

Commit fb0b946

Browse files
committed
try to fix issue with 2.11 snapshot deploy
1 parent 1ee22cb commit fb0b946

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.travis.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ branches:
1414
- master
1515
- "2.11"
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)