Skip to content

Commit

Permalink
build: replace jabba by proper debian installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph committed Oct 15, 2020
1 parent fb9e3e2 commit ea75b72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ git:
before_install:
# make comparing to origin/master work
- git remote set-branches --add origin master && git fetch
# using jabba for custom jdk management
- curl -sL https://raw.githubusercontent.com/shyiko/jabba/0.11.1/install.sh | bash && . ~/.jabba/jabba.sh
- jabba install [email protected]
- jabba use "[email protected]"
- java -version

addons:
apt:
sources:
# Official debian package for AdoptOpenJDK from https://adoptopenjdk.net/installation.html#linux-pkg
- sourceline: deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ xenial main
key_url: https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
packages:
- graphviz
- graphviz
- adoptopenjdk-8-hotspot

before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
Expand All @@ -30,7 +31,6 @@ cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.jabba/jdk
- $HOME/.cache/coursier

script:
Expand Down

0 comments on commit ea75b72

Please sign in to comment.