use coveralls for test coverage reporting with Travis
This commit is contained in:
Родитель
315710c020
Коммит
52722ed923
|
@ -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:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче