Files
378197caee58ba9cd2ace9a6a1e8ea3194ac6b11
ironic-python-agent /tox.ini

65 lines
1.5 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
downloadcache = ~/cache/pip
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
IPA_WAIT_TIME=5
commands =
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
# E711: ignored because it is normal to use "column == None" in sqlalchemy
ignore = E12,E711
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*ironic/nova*,tools
[hacking]