Skip to content

Commit

Permalink
Add Coveralls test coverage reporting to the automated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
izmailoff committed Mar 22, 2015
1 parent 87e8995 commit 9be53fc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ jdk:
- oraclejdk8
- oraclejdk7
- openjdk7

script: "sbt clean coverage test"
after_success: "sbt coveralls"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Build Status
[![Build Status](https://travis-ci.org/izmailoff/mqtt-mongo.png?branch=master)](https://travis-ci.org/izmailoff/mqtt-mongo)

# Test Coverage
[![Coverage Status](https://coveralls.io/repos/izmailoff/mqtt-mongo/badge.svg)](https://coveralls.io/r/izmailoff/mqtt-mongo)

# MQTT-Mongo
This is a generic service that subscribes to MQQT broker and saves messages to MongoDB.
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ libraryDependencies ++= {
)
}


resolvers ++= Seq(
"Akka Snapshot Repository" at "http://repo.akka.io/snapshots/",
"Paho Eclipse Repository" at "https://repo.eclipse.org/content/repositories/paho-releases/"
"Paho Eclipse Repository" at "https://repo.eclipse.org/content/repositories/paho-releases/",
Classpaths.sbtPluginReleases
)
3 changes: 3 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.12.0")

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

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.0.0.BETA1")

0 comments on commit 9be53fc

Please sign in to comment.