Skip to content

Commit 0043642

Browse files
committed
also try to improve travis settings
1 parent a966961 commit 0043642

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
language: java
22

3+
git:
4+
quiet: true
5+
submodules: false
6+
37
jdk:
48
- openjdk8
59
- openjdk11
610

11+
# 2019-11-26, tatu: Let's try caching Maven dependencies
12+
cache:
13+
directories:
14+
- $HOME/.m2
15+
16+
# Below this line is configuration for deploying to the Sonatype OSS repo
17+
# https://knowm.org/configure-travis-ci-to-deploy-snapshots/
18+
before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
19+
after_success:
20+
- "mvn -B source:jar javadoc:jar deploy --settings target/travis/settings.xml"
21+
722
# whitelist
823
branches:
924
only:

0 commit comments

Comments
 (0)