Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Commit aa83b2c

Browse files
committed
Switch to adoptopenjdk
1 parent c584ee0 commit aa83b2c

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
sudo: false
21
language: scala
32

4-
jdk:
5-
- oraclejdk8
3+
env:
4+
- TRAVIS_JDK=8
5+
6+
before_install: curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
7+
install: jabba install "adopt@~1.$TRAVIS_JDK.0-0" && jabba use "$_" && java -Xmx32m -version
68

79
script:
810
- sbt +test
911
- sbt +publishLocal
1012

13+
sudo: false
14+
1115
cache:
1216
directories:
13-
- $HOME/.ivy2/cache
14-
17+
- "$HOME/.coursier/cache"
18+
- "$HOME/.ivy2/cache"
19+
- "$HOME/.jabba/jdk"
20+
1521
before_cache:
1622
# Delete all ivydata files
1723
- find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm
18-

0 commit comments

Comments
 (0)