Skip to content

Commit

Permalink
use openjdk8 on travis (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelluethi authored and Ghazi-Bouabene committed Jul 5, 2019
1 parent dcdfc82 commit a525b3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ language: scala
env:
- SCALISMO_PLATFORM=linux64

jdk:
- openjdk8


## Caching seems to cause problems of its own, so we leave it commented for now.
## We use travis_wait instead (see below in the script: section) to give the build more time.
#cache:
Expand All @@ -17,7 +21,6 @@ scala:
- 2.12.1

script:
- jdk_switcher use oraclejdk8
- travis_wait sbt ++$TRAVIS_SCALA_VERSION update
- travis_wait sbt ++$TRAVIS_SCALA_VERSION -Djava.awt.headless=true compile test
- sbt scalariformFormat && git diff --exit-code # fails build if scalariform results in changes to the code

0 comments on commit a525b3a

Please sign in to comment.