Skip to content

Commit

Permalink
enable Scala 2.13.0-M3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Feb 14, 2018
1 parent 056066f commit b5e3cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ scala:
- 2.10.7
- 2.11.12
- 2.12.4
- 2.13.0-M3
jdk:
- oraclejdk8
script:
Expand All @@ -12,10 +13,6 @@ matrix:
include:
- scala: 2.12.4
jdk: oraclejdk9
- scala: 2.13.0-M3
script:
# TODO enable test https://github.com/scalatest/scalatest/issues/1321
- sbt "++${TRAVIS_SCALA_VERSION}! -v" compile
cache:
directories:
- $HOME/.ivy2/cache
Expand Down
12 changes: 1 addition & 11 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,9 @@ val knockoff = crossProject(JVMPlatform, JSPlatform)
name := "knockoff",
libraryDependencies ++= Seq(
"junit" % "junit" % "4.12" % "test",
"org.scalatest" %%% "scalatest" % "3.0.5-M1" % "test",
"net.sf.jtidy" % "jtidy" % "r938" % "test"
),
// TODO enable test https://github.com/scalatest/scalatest/issues/1321
libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, v)) if v <= 12 =>
Seq(
"org.scalatest" %%% "scalatest" % "3.0.5" % "test",
)
case _ =>
Nil
}
},
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
Expand Down

0 comments on commit b5e3cd2

Please sign in to comment.