Skip to content

Commit

Permalink
getting rid of codecov and wartremover
Browse files Browse the repository at this point in the history
  • Loading branch information
avibryant committed Feb 7, 2020
1 parent 1c25f37 commit db16b55
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ jobs:
- NAME="TESTS"
- SCALAC_FATAL_WARNINGS=true
script:
- pip install --user codecov
- sbt coverage +test coverageReport && codecov
- sbt +test
17 changes: 0 additions & 17 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import wartremover.Wart

lazy val root = project.
in(file(".")).
aggregate(rainierBase, rainierCompute, rainierSampler, rainierCore, rainierNotebook).
Expand All @@ -14,19 +12,6 @@ lazy val root = project.

scalafmtOnCompile in ThisBuild := true

// see https://www.wartremover.org/doc/warts.html for the full list.
wartremoverErrors in (Compile, compile) ++= Seq(
Wart.EitherProjectionPartial,
Wart.OptionPartial,
Wart.Product,
Wart.PublicInference,
Wart.Return,
Wart.Serializable,
Wart.StringPlusAny,
Wart.Throw,
Wart.TryPartial
)

def getPublishTo(snapshot: Boolean) = {
val nexus = "https://oss.sonatype.org/"
if (snapshot) {
Expand Down Expand Up @@ -135,8 +120,6 @@ lazy val rainierNotebook = project.
"sh.almond" %% "jupyter-api" % V.almond)
)

// test modules

lazy val rainierBenchmark = project.
in(file("rainier-benchmark")).
settings(name := "rainier-benchmark").
Expand Down
2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.4")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.4.3")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.0")

0 comments on commit db16b55

Please sign in to comment.