Files
677e9b7e4bd15e8c033507fcd03cc778ab4ada3d
ironic-python-agent /tox.ini

61 lines
1.4 KiB
INI
Raw Normal View History

2013年12月16日 15:38:02 -08:00
[tox]
skipsdist = True
2013年12月16日 15:38:02 -08:00
[testenv]
install_command = pip install --allow-external -U {opts} {packages}
OS_TEST_PATH=./ironic_python_agent/tests/unit
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
python setup.py testr --slowest --testr-args='{posargs:}'
2013年12月16日 15:38:02 -08:00
usedevelop = True
# Define virtualenv directory, port to use for functional testing, and number
# of seconds to wait for the agent to come alive during functional testing.
setenv =
VIRTUAL_ENV={envdir}
OS_TEST_PATH=./ironic_python_agent/tests/functional
TEST_PORT=9999
python setup.py testr --slowest --testr-args='{posargs:}'
2013年12月20日 16:56:40 -08:00
commands =
2013年12月20日 16:56:40 -08:00
setenv = VIRTUAL_ENV={envdir}
commands =
2014年03月19日 16:19:52 -07:00
python setup.py testr --coverage {posargs:ironic_python_agent}
[testenv:venv]
2013年12月16日 15:38:02 -08:00
[testenv:devenv]
envdir = devenv
usedevelop = True
2014年03月17日 15:17:27 -07:00
sitepackages = False
envdir = {toxworkdir}/venv
commands =
python setup.py build_sphinx
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*ironic/nova*,tools
[hacking]