addSbtPlugin("org.hammerlab.sbt" % "travis" % "5.0.0")
SBT settings for interfacing with Coveralls and TravisCI:
travisCoverageScalaVersion
: only compute coverage and send a report to Coveralls ifTRAVIS_SCALA_VERSION
matches this value (default:scala211Version
) andcoveralls.disable
system property is not setcoverageTest
: command wrappingtest
and, if scoverage is enabled,coverageReport
for preparing reportstravisReport
command suitable for.travis.yml
after_success
:- if coverage is enabled, send report to Coveralls
- if this is a multi-module project, run
coverageAggregate
first
See hammerlab/math-utils for an example.