Adding the fix for travis for newer sbt version from sbt website

This commit is contained in:
Eike Kettner 2021-03-08 10:28:12 +01:00
parent 4f5441e9f5
commit 3c7eb01b7a

View File

@ -19,6 +19,14 @@ install:
- node --version
- npm --version
- npm install -g elm
- |
# update this only when sbt-the-bash-script needs to be updated
export SBT_LAUNCHER=1.4.8
export SBT_OPTS="-Dfile.encoding=UTF-8"
curl -L --silent "https://github.com/sbt/sbt/releases/download/v$SBT_LAUNCHER/sbt-$SBT_LAUNCHER.tgz" > $HOME/sbt.tgz
tar zxf $HOME/sbt.tgz -C $HOME
sudo rm /usr/local/bin/sbt
sudo ln -s $HOME/sbt/bin/sbt /usr/local/bin/sbt
before_script:
- export TZ=Europe/Berlin