-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: replace jabba by proper debian installation
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|