Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Commit

Permalink
remove scoverage due to a bug in the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Apr 15, 2021
1 parent b72aaa0 commit 8bb4615
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ stages:
jobs:
include:
- stage: test
script: sbt clean coverage test coverageAggregate
after_script:
- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l Scala -r target/scala-2.13/coverage-report/cobertura.xml
script: sbt clean test
- stage: release
jdk: openjdk8
script: sbt ci-release
Expand Down
6 changes: 0 additions & 6 deletions project/CommonSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Dependencies.Versions
import org.scalafmt.sbt.ScalafmtPlugin.autoImport.scalafmtOnCompile
import sbt.Keys._
import sbt._
import scoverage.ScoverageKeys.coverageExcludedPackages

object CommonSettings extends AutoPlugin {
override def requires: Plugins = plugins.JvmPlugin
Expand Down Expand Up @@ -59,10 +58,5 @@ object CommonSettings extends AutoPlugin {
compilerPlugin(("com.github.ghik" % "silencer-plugin" % Versions.SilencerVersion).cross(CrossVersion.full)),
("com.github.ghik" % "silencer-lib" % Versions.SilencerVersion % Provided).cross(CrossVersion.full)),
scalafmtOnCompile := true,
coverageExcludedPackages := "<empty>;" +
"io.superflat.lagompb.protobuf.*;" +
"io.superflat.lagompb.Plugin;" +
"io.superflat.lagompb.SharedBaseServiceImpl;" +
"io.superflat.lagompb.BaseGrpcServiceImpl;",
scalafmtOnCompile := true)
}
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "1.6.5")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.8.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("com.beautiful-scala" % "sbt-scalastyle" % "1.5.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.27")
addSbtPlugin("au.com.onegeek" %% "sbt-dotenv" % "2.1.227")
Expand Down

0 comments on commit 8bb4615

Please sign in to comment.