diff --git a/.travis.yml b/.travis.yml
index 272dd25..77ba633 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,5 +11,14 @@ env:
services:
- docker
+before_install:
+ - go get github.com/go-playground/overalls
+ - go get github.com/mattn/goveralls
+
+script:
+ - make eremetic
+ - overalls -project=github.com/klarna/eremetic -covermode=count
+ - goveralls -coverprofile=overalls.coverprofile -service travis-ci
+
after_success:
- misc/docker.sh
diff --git a/README.md b/README.md
index 6ba12ed..96d3e4f 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,7 @@
-# [![Build Status][travis-image]](https://travis-ci.org/klarna/eremetic)
+#
+
+[![Build Status][travis-image]](https://travis-ci.org/klarna/eremetic)
+[![Coverage Status][coveralls-image]](https://coveralls.io/r/klarna/eremetic?branch=master)
Eremetic is a Mesos Framework to run one-shot tasks.
@@ -128,4 +131,5 @@ Thanks to Sebastian Norde for the awesome logo!
## Licensing
Apache-2
-[travis-image]: https://travis-ci.org/klarna/eremetic.svg
+[travis-image]: https://img.shields.io/travis/klarna/eremetic.svg?style=flat
+[coveralls-image]: https://img.shields.io/coveralls/klarna/eremetic.svg?style=flat