Skip to content

add OpenJDK 11 to CI matrix #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ sudo: false

jdk:
- oraclejdk8
- openjdk11

scala:
# no 2.13 for now in cross-build because of
Expand Down
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import ScalaModulePlugin._
// https://github.com/scala/scala-java8-compat/issues/97
crossScalaVersions in ThisBuild := List("2.12.8", "2.11.12")

val disableDocs = sys.props("nodocs") == "true"
val disableDocs =
sys.props("nodocs") == "true" ||
// can't build doc on JDK 11 until sbt/sbt#4350 is fixed
!sys.props("java.version").startsWith("1.")

lazy val JavaDoc = config("genjavadoc") extend Compile

Expand Down