From abb6aa4b53bc7f64f888470c090158a2e3b105dd Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Mon, 19 Apr 2021 16:18:10 +0200 Subject: [PATCH] build: make sure launcher is downloaded from correct repo --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9414bf80c36..a74ab8d6350 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,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: @@ -34,7 +38,7 @@ before_cache: cache: directories: - $HOME/.ivy2/cache - - $HOME/.sbt/boot + - $HOME/.sbt - $HOME/.cache/coursier env: