Enable Coverage reporting to Codecov (#189)
* [sbt] Enable Jacoco XML reports * [travis] Add coverage step with codacy * [sbt] Replace jacoco with scoverage Jacoco doesn't appear to support scala code properly, only counting some lines of a method.
This commit is contained in:
parent
9ebca7e6a6
commit
777bc970d7
2 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,10 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
script: sbt ++$TRAVIS_SCALA_VERSION test
|
script: sbt ++$TRAVIS_SCALA_VERSION test
|
||||||
|
- stage: coverage
|
||||||
|
script:
|
||||||
|
- sbt clean coverage test coverageAggregate
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
- stage: release
|
- stage: release
|
||||||
script: sbt ++$TRAVIS_SCALA_VERSION ci-release
|
script: sbt ++$TRAVIS_SCALA_VERSION ci-release
|
||||||
cache:
|
cache:
|
||||||
|
|
|
@ -2,4 +2,4 @@ addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.3.2")
|
||||||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.3.1")
|
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.3.1")
|
||||||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")
|
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")
|
||||||
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.4.2")
|
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")
|
||||||
|
|
Loading…
Reference in a new issue