-
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: make sure launcher is downloaded from correct repo
(cherry picked from commit abb6aa4)
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 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 |
---|---|---|
|
@@ -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 "[email protected]" | ||
- java -version | ||
- sbt -jvm-opts .jvmopts-travis "$CMD" | ||
|
||
jobs: | ||
|