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

Commit

Permalink
Switch to adoptopenjdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Dec 3, 2019
1 parent c584ee0 commit e02ad30
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
sudo: false
language: scala

jdk:
- oraclejdk8
env:
- TRAVIS_JDK=8
- TRAVIS_JDK=11

before_install: curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
install: jabba install "adopt@~1.$TRAVIS_JDK.0-0" && jabba use "$_" && java -Xmx32m -version

script:
- sbt +test
- sbt +publishLocal
- sbt +test +publishLocal

sudo: false

cache:
directories:
- $HOME/.ivy2/cache

- "$HOME/.coursier/cache"
- "$HOME/.ivy2/cache"
- "$HOME/.jabba/jdk"

before_cache:
# Delete all ivydata files
- find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm

0 comments on commit e02ad30

Please sign in to comment.