use coveralls for test coverage reporting with Travis

This commit is contained in:
Julien Pagès 2014-12-12 19:29:50 +01:00
Родитель 315710c020
Коммит 52722ed923
3 изменённых файлов: 15 добавлений и 2 удалений

8
.coveragerc Normal file
Просмотреть файл

@ -0,0 +1,8 @@
# configuration for coverage.py
[run]
source = mozregression
[report]
exclude_lines =
# Don't complain if tests don't hit defensive assertion code
raise NotImplementedError

Просмотреть файл

@ -4,6 +4,10 @@ python:
- "2.7"
install:
pip install mock
pip install mock coverage coveralls
script: python setup.py test
script:
coverage run setup.py test
after_success:
coveralls

Просмотреть файл

@ -2,6 +2,7 @@ mozregression is an interactive regression range finder for Mozilla nightly and
[![PyPI version](https://badge.fury.io/py/mozregression.svg)](http://badge.fury.io/py/mozregression)
[![Build Status](https://travis-ci.org/mozilla/mozregression.svg?branch=master)](https://travis-ci.org/mozilla/mozregression)
[![Coverage Status](https://img.shields.io/coveralls/mozilla/mozregression.svg)](https://coveralls.io/r/mozilla/mozregression)
For more information see: