Version and build adjustments in support of 2.13.0-M5 release

This commit is contained in:
Michael Pilquist 2018-10-26 14:27:33 -04:00
parent 895fc8252d
commit b55739356e
2 changed files with 4 additions and 9 deletions

View File

@ -10,8 +10,8 @@ language: scala
scala:
- "2.10.7"
- "2.11.12"
- "2.12.4"
- "2.13.0-M4"
- "2.12.7"
- "2.13.0-M5"
jdk:
- oraclejdk8
@ -26,9 +26,6 @@ before_cache:
matrix:
include:
- scala: 2.13.0-M5
script:
- sbt "++${TRAVIS_SCALA_VERSION}!" compile
- sudo: required
scala: SCALA_NATIVE
before_install:

View File

@ -17,9 +17,7 @@ def ifAtLeast(scalaBinaryVersion: String, atLeastVersion: String)(options: Strin
lazy val scalatestSetting = Def.setting(
if (scalaVersion.value == "2.13.0-M5") {
Nil // TODO
} else if (scalaVersion.value == "2.13.0-M4") {
Seq("org.scalatest" %%% "scalatest" % "3.0.6-SNAP1" % "test")
Seq("org.scalatest" %%% "scalatest" % "3.0.6-SNAP4" % "test")
} else {
Seq("org.scalatest" %%% "scalatest" % "3.0.5-M1" % "test")
}
@ -45,7 +43,7 @@ lazy val commonSettings = Seq(
scalacOptions in (Compile, console) ~= { _ filterNot { o => o == "-Ywarn-unused-import" || o == "-Xfatal-warnings" } },
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value,
scalaVersion := Scala211,
crossScalaVersions := Seq("2.10.7", Scala211, "2.12.4", "2.13.0-M4"),
crossScalaVersions := Seq("2.10.7", Scala211, "2.12.7", "2.13.0-M5"),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")