diff --git a/.travis.yml b/.travis.yml index 4c82bd55f5f..6f95386cec2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,10 @@ before_install: - git remote set-branches --add origin master && git fetch - whereis java - java -version + # Initialize launcher from the correct URL so that later sbt runs work out of the box. + # Travis' default sbt launch script refers to `repo.scala-sbt.org` for downloading the launcher + # which currently doesn't work any more + - sbt -sbt-launch-repo https://repo1.maven.org/maven2 exit addons: apt: @@ -33,7 +37,7 @@ before_cache: cache: directories: - $HOME/.ivy2/cache - - $HOME/.sbt/boot + - $HOME/.sbt - $HOME/.cache/coursier env: @@ -44,8 +48,6 @@ env: - CI_SONATYPE_RELEASE="; sonatypePrepare; sonatypeBundleUpload; sonatypeClose" script: - - jabba use "adopt@1.8-0" - - java -version - sbt -jvm-opts .jvmopts-travis "$CMD" jobs: