Add coverage reporting for RQ.

This commit is contained in:
Vincent Driessen 2014-07-24 23:27:32 +02:00
parent 6299af15fc
commit 36ac9a5209
2 changed files with 6 additions and 1 deletions

View File

@ -9,6 +9,10 @@ python:
install: install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install -r py26-requirements.txt; fi - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install -r py26-requirements.txt; fi
- pip install -r requirements.txt - 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 #- pip install pytest # installed by Travis by default already
script: script:
- py.test - py.test --cov rq
after_success:
- coveralls

View File

@ -5,6 +5,7 @@ easily.
[![Build status](https://travis-ci.org/nvie/rq.svg?branch=master)](https://secure.travis-ci.org/nvie/rq) [![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) [![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 ## Getting started