Skip to content

Commit

Permalink
Use official sbt distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Dec 16, 2018
1 parent da74f17 commit 97f3eed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Expand Up @@ -8,9 +8,21 @@ apt:
packages:
- openjdk8

# workaround https://github.com/travis-ci/travis-ci/issues/9816
addons:
apt:
sources:
- sourceline: "deb https://dl.bintray.com/sbt/debian /"
key_url: "https://bintray.com/user/downloadSubjectPublicKey?username=sbt"
packages:
- sbt=1.2.7

before_install:
- PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/lib\/jvm\/openjdk11\/bin//')
- JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
- PATH=/usr/bin:$PATH
- export JAVA_OPTS="-server -Dfile.encoding=UTF-8 -Xss2M -Xms1024M -Xmx1024M -XX:ReservedCodeCacheSize=128m"
- export SBT_OPTS=

script:
- sbt "+ test"
Expand Down

0 comments on commit 97f3eed

Please sign in to comment.