Skip to content

Commit a412cfc

Browse files
committed
Add artifact to Mima for Scala.js
1 parent 07d067d commit a412cfc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
4343
scalacOptions in Test += "-Xxml:coalescing",
4444

4545
scalaModuleMimaPreviousVersion := {
46-
if (List("1.0.0", "1.0.1").contains(System.getenv("SCALAJS_VERSION"))) None // No such release yet
47-
else Some("1.2.0")
46+
if (isDotty.value) None // No such release yet
47+
// else if (System.getenv("SCALAJS_VERSION") == "1.0.0") None
48+
else Some("1.3.0")
4849
},
4950
mimaBinaryIssueFilters ++= {
5051
import com.typesafe.tools.mima.core._
@@ -161,6 +162,8 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
161162
}
162163
)
163164
.jsSettings(
165+
// The config for Travis has an exclude, but sbt-travisci doesn't catch it.
166+
crossScalaVersions -= "0.22.0-RC1",
164167
// Scala.js cannot run forked tests
165168
fork in Test := false
166169
)

0 commit comments

Comments
 (0)