Skip to content

Commit

Permalink
Use openjdk instead of oraclejdk in Travis
Browse files Browse the repository at this point in the history
Might fix the issue with Java 8 builds, error for ref:

Expected feature release number in range of 9 to 14, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .

Edit:
Trying to upgrade scalafmt, seems like we're running into the unresolved
issue here: scalameta/scalafmt#1415
  • Loading branch information
dropofwill committed Oct 27, 2019
1 parent abf482d commit f7dabdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ scala:
- 2.13.0

jdk:
- oraclejdk8
- oraclejdk12
- openjdk8
- openjdk12

env: SJS_TEST_BROWSER=chrome

Expand Down Expand Up @@ -40,4 +40,4 @@ script:
coverage
core/test
after_success: "sbt core/coverageReport core/coveralls"
after_success: "sbt core/coverageReport core/coveralls"
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.0")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.5")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.4")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.2.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.1")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.28")
addSbtPlugin("com.lihaoyi" % "workbench" % "0.4.1")

0 comments on commit f7dabdf

Please sign in to comment.