mirror of
https://github.com/lightbend/config.git
synced 2025-01-14 14:21:01 +08:00
Use AdoptOpenJDK
This commit is contained in:
parent
aa0c42b873
commit
f895b83bd5
29
.travis.yml
29
.travis.yml
@ -1,19 +1,24 @@
|
||||
# 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
|
||||
|
||||
language: scala
|
||||
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
|
||||
script:
|
||||
- sbt ++$TRAVIS_SCALA_VERSION test doc
|
||||
|
||||
# Remove to avoid unnecessary cache updates
|
||||
- find $HOME/.sbt -name "*.lock" -delete
|
||||
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
|
||||
- $HOME/.jabba/jdk
|
||||
|
Loading…
Reference in New Issue
Block a user