Skip to content

Commit

Permalink
Disable scoverage on Scala.js as it's not available for Scala.js 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunk committed Sep 22, 2020
1 parent 5c249bb commit 8ed7367
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import sbt.internal.ProjectMatrix
import scoverage.ScoverageKeys.coverageEnabled

val scala2_11 = "2.11.12"
val scala2_12 = "2.12.12"
Expand Down Expand Up @@ -40,7 +41,6 @@ lazy val core: ProjectMatrix = (projectMatrix in file("modules/scalacheck-toolbo
libraryDependencies ++= Seq(
"org.scalacheck" %%% "scalacheck" % "1.14.3",
"org.scala-lang.modules" %%% "scala-collection-compat" % "2.2.0",
"joda-time" % "joda-time" % "2.10.6"
)
)
.jvmPlatform(
Expand All @@ -49,7 +49,10 @@ lazy val core: ProjectMatrix = (projectMatrix in file("modules/scalacheck-toolbo
)
.jsPlatform(
scalaVersions = allScalaVersions,
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0" % Test
settings = Seq(
coverageEnabled := false,
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0" % Test
)
)

lazy val `scalacheck-toolbox-magic`: ProjectMatrix =
Expand All @@ -64,4 +67,7 @@ lazy val `scalacheck-toolbox-combinators`: ProjectMatrix =
.settings(description := "Useful generic combinators for ScalaCheck")
.settings(libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.14.3")
.jvmPlatform(scalaVersions = allScalaVersions)
.jsPlatform(scalaVersions = allScalaVersions)
.jsPlatform(
scalaVersions = allScalaVersions,
settings = coverageEnabled := false
)

0 comments on commit 8ed7367

Please sign in to comment.