Skip to content

Commit 00ea22c

Browse files
committed
add Java 9 test
1 parent 4ba26d6 commit 00ea22c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ env:
1313

1414
script: admin/build.sh
1515

16-
jdk: oraclejdk8
16+
jdk:
17+
- oraclejdk8
18+
- oraclejdk9

admin/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ if [[ "$TRAVIS_TAG" =~ $tagPat ]]; then
5050
openssl aes-256-cbc -K $K -iv $IV -in admin/secring.asc.enc -out admin/secring.asc -d
5151
fi
5252
53-
sbt "$publishVersion" "$publishScalaVersion" clean update +test +checkHeaders +publishLocal $extraTarget
53+
sbt -Dsbt.scala.version=2.10.7 "$publishVersion" "$publishScalaVersion" clean update +test +checkHeaders +publishLocal $extraTarget

build.sbt

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ lazy val core = project.in(file("core")).settings(scalaModuleSettings).settings(
5454

5555
lazy val junit = project.in(file("junit")).settings(
5656
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
57+
// for javax.xml.bind.DatatypeConverter
58+
// https://github.com/scala/scala-parallel-collections/blob/4ba26d653e/junit/src/test/scala/scala/SerializationStabilityTest.scala#L3
59+
libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.0" % "test",
5760
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"),
5861
fork in Test := true,
5962
disablePublishing

0 commit comments

Comments
 (0)