Files
a4d608fa33b328d7ed77c7f9c40ffbb43c0ade6b
nova /tox.ini

45 lines
1.1 KiB
INI
Raw Normal View History

[testenv]
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
downloadcache = ~/cache/pip
[testenv:pep8]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/tools/pip-requires
deps = pyflakes
commands = python tools/flakes.py nova
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
commands =
python setup.py testr --coverage \
--testr-args='^(?!.*test_coverage_ext).*$'
[testenv:venv]
commands = {posargs}