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 9425000
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ 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]"
- whereis java
- 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 +32,6 @@ cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.jabba/jdk
- $HOME/.cache/coursier

script:
Expand Down Expand Up @@ -59,6 +60,8 @@ stages:

env:
global:
- JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
- PATH=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/bin:$PATH
# encrypt with: travis encrypt WHITESOURCE_PASSWORD=...
- secure: "O3bUB/B1CusDUGTcGaMndQK2nPw+XK5GMrecQ9awLCtnX6bkqSdX18pK9l2XP8r7yR+DYyFoyknf1rJ6JiybsBrc3udNpSBBTTG+4EMAMK12kxiQmy82JEepZrD/BkGtmMhzD6X41s+J2tY0XDa6p/Xqbr2Hb+oTQ7+WXdhfwyfdrszUcEL/t1IrdI2jgh37NJlBMuoHUWOXanpVv6KR7Kfjahd34k79bbfEK/8sX4kv7YU7uZWe/UxJse1b767sbijAqInFm+3n3lxv8eqnbbaAcdTuZBYkwkf5uZcXmV/Px1xupPBt1C6k49vfogT148KxJ7CzYawAC3oZq10m8I/6NREPUpoLN6ie+K9g3P+FcvCbKju8sxaoYmxNW+V+r6B/I+mXrbpD5YHT7WpvfF9gZt3HJk3V6/+Cu9vvgrnTGkUYymTWymEGRRq5TB2Q+/IDR7Qq8XTwkzA7UwcQ3WBotVY7TQKMEp9LvILTBnP0GZiUfeq+OXzLUN7sjsaEevD1dV0ZkIeILAFDwEmzPXKlmV70+IIM+Km8uCZ4XJ6GOklnEar+zltwBdFPrcvC6Pcb77O02DeMz773Uu9PxXgdUcjsW06v0wUO+5KXB9Y+6+9SJtW0gs5BtaiUnY7d38YPoXWq9Gm+sNUnJe5NH/nBdjF/O8xqAhUgs0OPApE="
# encrypt with: travis encrypt BINTRAY_USER=...
Expand Down

0 comments on commit 9425000

Please sign in to comment.