Codecov Scala Example
Guide
Travis Setup
Add to your .travis.yml
file.
language: scala
after_success:
- bash <(curl -s https://codecov.io/bash)
Produce Coverage Reports
- Add
scoverage
to plugin list
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
as seen here
- Add
coverage
andcoverageReport
tosbt
sbt clean coverage test coverageReport
as seen here
Caveats
Private Repo
Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending -t <your upload token>
to you where you upload reports.