diff --git a/.travis.yml b/.travis.yml index 97f8a6e0..c4af057e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,10 @@ python: install: - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install -r py26-requirements.txt; fi - pip install -r requirements.txt + - pip install pytest-cov --use-mirrors + - pip install coveralls --use-mirrors #- pip install pytest # installed by Travis by default already script: - - py.test + - py.test --cov rq +after_success: + - coveralls diff --git a/README.md b/README.md index 2a227098..5a58de48 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ easily. [![Build status](https://travis-ci.org/nvie/rq.svg?branch=master)](https://secure.travis-ci.org/nvie/rq) [![Can I Use Python 3?](https://caniusepython3.com/project/rq.svg)](https://caniusepython3.com/project/rq) +[![Coverage Status](https://img.shields.io/coveralls/nvie/rq.svg)](https://coveralls.io/r/nvie/rq) ## Getting started