config/.travis.yml
Martynas Mickevičius f895b83bd5
Use AdoptOpenJDK
2019-01-24 15:53:25 +01:00

25 lines
602 B
YAML

# use Docker-based container (instead of OpenVZ)
sudo: false
language: scala
before_install:
# using jabba for custom jdk management
- curl -sL https://raw.githubusercontent.com/shyiko/jabba/0.11.2/install.sh | bash && . ~/.jabba/jabba.sh
- jabba install adopt@1.8.202-08
- java -version
script:
- sbt ++$TRAVIS_SCALA_VERSION test doc
before_cache:
# Remove to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" -delete
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.jabba/jdk