Files
zaza-openstack-tests/tox.ini
T
Liam Young 7b45197476 Converge requirements into a single file
readthedocs wants a single requirements file and since the doc
requirements are small it seems reasonable to merge the
requirement files.
2018-06-05 14:29:10 +01:00

33 lines
672 B
INI

[tox]
envlist = pep8,py3
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
install_command =
pip install {opts} {packages}
commands = nosetests {posargs} {toxinidir}/unit_tests
[testenv:py3]
basepython = python3
deps = -r{toxinidir}/requirements.txt
[testenv:pep8]
basepython = python3
deps = -r{toxinidir}/requirements.txt
commands = flake8 {posargs} zaza unit_tests
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E402,E226
[testenv:docs]
basepython = python3
changedir = doc/source
deps =
-r{toxinidir}/requirements.txt
commands = sphinx-build -W -b html -d {toxinidir}/doc/build/doctrees . {toxinidir}/doc/build/html