Use nosetests for coverage in tox.ini
I can't seem to figure out how to have testr and coverage working properly without pbr so let's use nosetests for it. Change-Id: Id0f2fc348dc822af9189178b518d2dda711b060c
This commit is contained in:
parent
b207aaca07
commit
730883957d
3
tox.ini
3
tox.ini
@ -21,7 +21,8 @@ commands =
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
|
commands = nosetests {posargs}
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
Loading…
Reference in New Issue
Block a user