File tree 6 files changed +29
-4
lines changed 6 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
+ branch = true
2
3
include = scrapy/*
3
- omit = scrapy/xlib*,scrapy/tests*
4
+ omit =
5
+ tests/*
6
+ scrapy/xlib/*
7
+ scrapy/conf.py
8
+ scrapy/stats.py
9
+ scrapy/project.py
10
+ scrapy/utils/decorator.py
11
+ scrapy/statscol.py
12
+ scrapy/squeue.py
13
+ scrapy/log.py
14
+ scrapy/dupefilter.py
15
+ scrapy/command.py
16
+ scrapy/linkextractor.py
17
+ scrapy/spider.py
18
+ scrapy/contrib/*
19
+ scrapy/contrib_exp/*
Original file line number Diff line number Diff line change 7
7
- TOXENV=py33
8
8
- TOXENV=docs
9
9
install :
10
- - pip install -U tox twine wheel
10
+ - pip install -U tox twine wheel codecov coveralls
11
11
script : tox
12
+ after_success :
13
+ - codecov
14
+ - coveralls
12
15
notifications :
13
16
irc :
14
17
use_notice : true
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ Scrapy
18
18
:target: https://github.com/scrapy/scrapy/wiki/Python-3-Porting
19
19
:alt: Python 3 Porting Status
20
20
21
+ .. image :: https://img.shields.io/codecov/c/github/scrapy/scrapy/master.svg
22
+ :target: http://codecov.io/github/scrapy/scrapy?branch=master
23
+ :alt: Coverage report
24
+
21
25
22
26
Overview
23
27
========
Original file line number Diff line number Diff line change 1
1
pytest>=2.6.0
2
2
pytest-twisted
3
+ pytest-cov
3
4
testfixtures
4
5
jmespath
Original file line number Diff line number Diff line change 3
3
mitmproxy == 0.10.1
4
4
netlib == 0.10.1
5
5
pytest-twisted
6
+ pytest-cov
6
7
jmespath
7
8
testfixtures
Original file line number Diff line number Diff line change 15
15
leveldb
16
16
-rtests/requirements.txt
17
17
commands =
18
- py.test {posargs:scrapy tests}
18
+ py.test -- cov =scrapy {posargs:scrapy tests}
19
19
20
20
[testenv:precise]
21
21
basepython = python2.7
@@ -34,7 +34,7 @@ basepython = python2.7
34
34
commands =
35
35
pip install -U https://github.com/scrapy/w3lib/archive/master.zip# egg=w3lib
36
36
pip install -U https://github.com/scrapy/queuelib/archive/master.zip# egg=queuelib
37
- py.test {posargs:scrapy tests}
37
+ py.test -- cov =scrapy {posargs:scrapy tests}
38
38
39
39
[testenv:py33]
40
40
basepython = python3.3
You can’t perform that action at this time.
0 commit comments