mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-21 03:53:25 +00:00
Add coverage report trough codecov.io
This commit is contained in:
parent
6c2c9a4baf
commit
108c3e63a5
18
.coveragerc
18
.coveragerc
@ -1,3 +1,19 @@
|
||||
[run]
|
||||
branch = true
|
||||
include = scrapy/*
|
||||
omit = scrapy/xlib*,scrapy/tests*
|
||||
omit =
|
||||
tests/*
|
||||
scrapy/xlib/*
|
||||
scrapy/conf.py
|
||||
scrapy/stats.py
|
||||
scrapy/project.py
|
||||
scrapy/utils/decorator.py
|
||||
scrapy/statscol.py
|
||||
scrapy/squeue.py
|
||||
scrapy/log.py
|
||||
scrapy/dupefilter.py
|
||||
scrapy/command.py
|
||||
scrapy/linkextractor.py
|
||||
scrapy/spider.py
|
||||
scrapy/contrib/*
|
||||
scrapy/contrib_exp/*
|
||||
|
@ -7,8 +7,11 @@ env:
|
||||
- TOXENV=py33
|
||||
- TOXENV=docs
|
||||
install:
|
||||
- pip install -U tox twine wheel
|
||||
- pip install -U tox twine wheel codecov coveralls
|
||||
script: tox
|
||||
after_success:
|
||||
- codecov
|
||||
- coveralls
|
||||
notifications:
|
||||
irc:
|
||||
use_notice: true
|
||||
|
@ -18,6 +18,10 @@ Scrapy
|
||||
:target: https://github.com/scrapy/scrapy/wiki/Python-3-Porting
|
||||
:alt: Python 3 Porting Status
|
||||
|
||||
.. image:: https://img.shields.io/codecov/c/github/scrapy/scrapy/master.svg
|
||||
:target: http://codecov.io/github/scrapy/scrapy?branch=master
|
||||
:alt: Coverage report
|
||||
|
||||
|
||||
Overview
|
||||
========
|
||||
|
@ -1,4 +1,5 @@
|
||||
pytest>=2.6.0
|
||||
pytest-twisted
|
||||
pytest-cov
|
||||
testfixtures
|
||||
jmespath
|
||||
|
@ -3,5 +3,6 @@ mock
|
||||
mitmproxy==0.10.1
|
||||
netlib==0.10.1
|
||||
pytest-twisted
|
||||
pytest-cov
|
||||
jmespath
|
||||
testfixtures
|
||||
|
4
tox.ini
4
tox.ini
@ -15,7 +15,7 @@ deps =
|
||||
leveldb
|
||||
-rtests/requirements.txt
|
||||
commands =
|
||||
py.test {posargs:scrapy tests}
|
||||
py.test --cov=scrapy {posargs:scrapy tests}
|
||||
|
||||
[testenv:precise]
|
||||
basepython = python2.7
|
||||
@ -34,7 +34,7 @@ basepython = python2.7
|
||||
commands =
|
||||
pip install -U https://github.com/scrapy/w3lib/archive/master.zip#egg=w3lib
|
||||
pip install -U https://github.com/scrapy/queuelib/archive/master.zip#egg=queuelib
|
||||
py.test {posargs:scrapy tests}
|
||||
py.test --cov=scrapy {posargs:scrapy tests}
|
||||
|
||||
[testenv:py33]
|
||||
basepython = python3.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user