Skip to content

Latest commit

 

History

History

travis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

org.hammerlab.sbt:travis

org.hammerlab.sbt:travis

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 if TRAVIS_SCALA_VERSION matches this value (default: scala211Version) and coveralls.disable system property is not set
  • coverageTest: command wrapping test and, if scoverage is enabled, coverageReport for preparing reports
  • travisReport 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.