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 13024d4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ 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]"
# using official adoptopenjdk installation instructions for debian-based distros from https://adoptopenjdk.net/installation.html#linux-pkg
- curl wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
- add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
- apt-get -qq update
- apt-get install -y adoptopenjdk-8-hotspot
- java -version

addons:
Expand Down

0 comments on commit 13024d4

Please sign in to comment.