Minimize tox.ini
Change-Id: I77d0873cbd789726b93b059429d742f1cbdc57c1
This commit is contained in:
33
tox.ini
33
tox.ini
@@ -8,38 +8,19 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
NOSE_OPENSTACK_RED=0.05
|
NOSE_OPENSTACK_RED=0.05
|
||||||
NOSE_OPENSTACK_YELLOW=0.025
|
NOSE_OPENSTACK_YELLOW=0.025
|
||||||
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||||
|
NOSE_OPENSTACK_STDOUT=1
|
||||||
deps = -r{toxinidir}/tools/pip-requires
|
deps = -r{toxinidir}/tools/pip-requires
|
||||||
-r{toxinidir}/tools/test-requires
|
-r{toxinidir}/tools/test-requires
|
||||||
commands = nosetests
|
commands = nosetests {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
|
||||||
commands = pep8 --repeat --show-source glanceclient tests setup.py
|
|
||||||
|
|
||||||
[testenv:venv]
|
|
||||||
commands = {posargs}
|
|
||||||
|
|
||||||
[testenv:cover]
|
|
||||||
commands = nosetests --cover-erase --cover-package=glanceclient --with-xcoverage
|
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[testenv:jenkins26]
|
[testenv:pep8]
|
||||||
basepython = python2.6
|
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc .
|
||||||
setenv = NOSE_WITH_XUNIT=1
|
|
||||||
deps = file://{toxinidir}/.cache.bundle
|
|
||||||
|
|
||||||
[testenv:jenkins27]
|
[testenv:cover]
|
||||||
basepython = python2.7
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
setenv = NOSE_WITH_XUNIT=1
|
|
||||||
deps = file://{toxinidir}/.cache.bundle
|
|
||||||
|
|
||||||
[testenv:jenkinscover]
|
[testenv:venv]
|
||||||
deps = file://{toxinidir}/.cache.bundle
|
|
||||||
setenv = NOSE_WITH_XUNIT=1
|
|
||||||
commands = nosetests --cover-erase --cover-package=glanceclient --with-xcoverage
|
|
||||||
|
|
||||||
[testenv:jenkinsvenv]
|
|
||||||
deps = file://{toxinidir}/.cache.bundle
|
|
||||||
setenv = NOSE_WITH_XUNIT=1
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Reference in New Issue
Block a user