Skip to content

Commit

Permalink
build: replace jabba by proper debian installation (#3539)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6a5b1fb)
  • Loading branch information
jrudolph committed Apr 19, 2021
1 parent 6f502b6 commit 5dc5ab1
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
version: ~> 1.0

os: linux
dist: xenial

language: scala

scala:
Expand All @@ -8,14 +13,18 @@ sudo: false
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]
- 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 @@ -25,12 +34,14 @@ cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.jabba/jdk
- $HOME/.cache/coursier

env:
# override default (release to maven central) to only close and go to staging repo
- CI_SONATYPE_RELEASE="; sonatypePrepare; sonatypeBundleUpload; sonatypeClose"
global:
- JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
- PATH=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/bin:$PATH
# override default (release to maven central) to only close and go to staging repo
- CI_SONATYPE_RELEASE="; sonatypePrepare; sonatypeBundleUpload; sonatypeClose"

script:
- jabba use "[email protected]"
Expand All @@ -55,16 +66,3 @@ stages:

- name: publish
if: repo=akka/akka-http AND ( ( (branch = master OR branch = release-10.1) AND type = push ) OR tag =~ ^v )

env:
global:
# 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=...
- secure: "cF1u1wF3Jhn5sfMATA6PltwUdfohX4TMtqluqWtZ5ZhKknIphMa9qmwpyVjaymO9dbEoBTejhGJdvxtwezkHE9K2rYGGP5o5BnOBNrbwY6+Z3FP+woHLUJrLKCL5cQvW+ReVmms7NyE4kH/2ngqXYb9MPHbs8RMXvdjclrZVWaIdyEE1TMb9TBI4F/oEpBY2Gee1eN3n6V7C01prCmrBdA0PHzqDyWIr/Axy+6ok6Fmou1bysSGjYl1aTRZFng/nNBO/smm6HoC9Pxj+uesZjaF0SaS/oce5ke9xefyW93lr024A300sJzVAEpexLgBBGMTupd3hLBRygPbY0B9yH4jPIElM0gRNt65BiV12PNhvRTyFm+OUwDPFiCjD8ttsZWAix5/81nIODMqu1HqViqdY5XQhmJmVjfjXSZHi+IDia2LDWxtq+bJ17YHnCtoGCGHTYbaYuwaESx23HZ90GvSwCtG5p8e7HSB0BUkgDj9BcjI1WQZRoIh8/KFBR04G1hHWt8cLKvefAiN//d+8RaoEza1THkZZqfYYr91QEDJ1xxtUnjKIc24i8FTSvDUJUkCF5xviKiaDzhdaBIIhJDuFJDgzDfQa7ttktkAFuY553fFxHYQVSK2l/FA2WojfEOzlbegKEXe5INfL9AgWLddnVdXtWulAf3hCb7v/WJo="
# encrypt with: travis encrypt BINTRAY_PASS=...
- secure: "ZBEa9eGU+jb6kXh1D53hw0oDIVss1vGMb0boBnQkoGnUI3DLnWbL0x+xNL6yH7V9trl7VnO2XWS+aT+PkY0yZHw1oymwiEwd0wESSrEyY7SwdjYrod+91Y8Yn1e7kainfXs2mH8P0kpKahw/kHZp0o0mEoucYj05zPNAkb2sK56+rzvJ5ohV8fF1k79xLpuJ6RMhDKX2ip/+DGUn5t9SD+tshRY134yh7A8BKcUtPEp30VTaA64+EuVweNtqdonsgCAAoyEei5D6id6tCyqGGnN1c+UXSW5QHunM2LTVGaCi9W3Zm71HCB34YSVsTtTW3CxSWIjsA2yi4HypojPebH3sUpDiBMtbqt2fVpMHjcVDRX5x+p3L2n7GKcWBDTDiCS7YXktzTvZPRyDNL2EZIPpOBDdAAEIkUNP9JjpH47S6lCjsLRFk1JPeBLSfwn3GqUOsvErNDw+VEZ4FQ8wJhptnJcjSUT4pqaRp3KoVMjA1SqajOHelMaIEw1qkH1mvGebVwXVkd86IfY+L6roJi/NwBbSvpovMCfZTTEpApc4AldBFapno3aWHpVkAYWTpv1d39cmzGo3UwKmSAqHMcJPGAB87gW8lzNU8LkCesQ6q46rRT5hJVdbAzf8H4TgYXwObJ6mp6U5IfdXwEcoELdIFI+CMVo09/WteJfW8bB8="
# encrypt with: travis encrypt SONATYP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lTPvrJB5+SLAMrEbX/5COW3UTqt1yAhCDDw99SNJChtUrLJxJaG9Z+UnINT8vickP5Qd5YWnWED/Sn0OhzBNec2ini8rivDVrm4SEpvtfDxf+v4dAhHNMKE/E6xjvoe9InCba8VSMydfXWR00BTV9ePIKw3XzUbYtSmuZMdkZg2MzxS+kwhgTTwzlVGeo31zgIcNQgqkcyTE8FQLMiOXgO6xYRVDsOF7Ge6izQ2p/Fcx6dzIoH5hhQULJIA3Bj1RnlSssYHbta4kex8j8utHznY81qpvKAYwQiZ3AbKW305Gucb+3/ekMxsmkKm0+PRSBG/DUaAFo="

0 comments on commit 5dc5ab1

Please sign in to comment.