Dont include kafka.vendor in coverage
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -21,18 +21,18 @@ deps =
|
|||||||
xxhash
|
xxhash
|
||||||
py26: unittest2
|
py26: unittest2
|
||||||
commands =
|
commands =
|
||||||
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka}
|
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka --cov-config=.covrc}
|
||||||
setenv =
|
setenv =
|
||||||
PROJECT_ROOT = {toxinidir}
|
PROJECT_ROOT = {toxinidir}
|
||||||
passenv = KAFKA_VERSION
|
passenv = KAFKA_VERSION
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
# pylint doesn't support python2.6
|
# pylint doesn't support python2.6
|
||||||
commands = py.test {posargs:--cov=kafka}
|
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}
|
||||||
|
|
||||||
[testenv:pypy]
|
[testenv:pypy]
|
||||||
# pylint is super slow on pypy...
|
# pylint is super slow on pypy...
|
||||||
commands = py.test {posargs:--cov=kafka}
|
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps =
|
deps =
|
||||||
|
Reference in New Issue
Block a user