diff --git a/.travis.yml b/.travis.yml index f5af1ee..bada4e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,10 @@ jobs: include: - stage: test script: sbt ++$TRAVIS_SCALA_VERSION test + - stage: coverage + script: + - sbt clean coverage test coverageAggregate + - bash <(curl -s https://codecov.io/bash) - stage: release script: sbt ++$TRAVIS_SCALA_VERSION ci-release cache: diff --git a/project/plugins.sbt b/project/plugins.sbt index 7988e6e..cb16608 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,4 +2,4 @@ addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.3.2") addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.3.1") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0") addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.4.2") -addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.1.0") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.0")