Skip to content

Commit 5203507

Browse files
committed
Merge pull request #87 from RomanTsegelskyi/cov
Coverage support and coveralls.io
2 parents f78008a + 7244a7a commit 5203507

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
language: scala
22
scala:
33
- 2.10.2
4+
5+
script:
6+
- sbt clean coverage test && sbt coverageAggregate
7+
8+
after_success:
9+
- sbt coveralls

build.sbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ autoCompilerPlugins := true
3939
addCompilerPlugin("org.scala-lang.virtualized.plugins" % "continuations" % virtScala)
4040

4141
scalacOptions += "-P:continuations:enable"
42+
43+
// code coverage
44+
45+
scoverage.ScoverageSbtPlugin.ScoverageKeys.coverageHighlighting := false

project/plugin.sbt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resolvers += Classpaths.sbtPluginReleases
2+
3+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.1")
4+
5+
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.0.0.BETA1")

0 commit comments

Comments
 (0)