Skip to content

Commit

Permalink
Merge pull request #71 from rpless/coveralls
Browse files Browse the repository at this point in the history
added scoverage and coveralls support
  • Loading branch information
vkostyukov committed Aug 19, 2014
2 parents 5a33d4c + 3ab4e28 commit aa66b78
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ scala:
- 2.10.3
jdk:
- openjdk7
script: "sbt coveralls"
4 changes: 3 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import sbt._
import sbt.Keys._
import scoverage.ScoverageSbtPlugin.instrumentSettings
import CoverallsPlugin.coverallsSettings

object Finch extends Build {

Expand Down Expand Up @@ -40,5 +42,5 @@ object Finch extends Build {

lazy val root = Project(id = "finch",
base = file("."),
settings = baseSettings ++ buildSettings ++ publishSettings)
settings = baseSettings ++ buildSettings ++ publishSettings ++ instrumentSettings ++ coverallsSettings)
}
9 changes: 8 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
resolvers += Classpaths.typesafeReleases
resolvers ++= Seq(
Classpaths.typesafeReleases,
Classpaths.sbtPluginReleases
)

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.2")

addSbtPlugin("org.scoverage" %% "sbt-scoverage" % "0.99.7.1")

addSbtPlugin("com.sksamuel.scoverage" %% "sbt-coveralls" % "0.0.5")

0 comments on commit aa66b78

Please sign in to comment.