From 5550a19a8d931e1d850cd1b65f9746b2e8dc3db9 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Tue, 10 Sep 2013 08:42:16 -0400 Subject: [PATCH] setup coveralls coverage reporting --- .travis.yml | 5 +++-- README.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f648f25..d1289f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,6 @@ language: python python: - "2.6" - "2.7" -install: "pip install -r test-requirements.txt pytest" -script: "py.test" +install: "pip install -r test-requirements.txt pytest pytest-cov coveralls" +script: "py.test --cov riakcached --cov-report term-missing riakcached/tests" +after_script: "coveralls" diff --git a/README.md b/README.md index 958114e..a212067 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Riakcached ========== [![Build Status](https://travis-ci.org/brettlangdon/riakcached.png?branch=master)](https://travis-ci.org/brettlangdon/riakcached) +[![Coverage Status](https://coveralls.io/repos/brettlangdon/riakcached/badge.png?branch=master)](https://coveralls.io/r/brettlangdon/riakcached?branch=master) A Memcached like interface to the Riak HTTP Client.