steth/tox.ini
changzhi1990 0e03c7b64e Upload steth doc
Basic setup for documentation.

The infra jobs call this as:
tox -evenv -- python setup.py build_sphinx
Therefore add venv as tox.ini environment as well.
Add sphinx as requirement to test-requirement so that docs can be build.

Change-Id: Idbbc0406d438e7be24cdbde59cac5a5229318d92
2016-01-19 10:35:20 +01:00

30 lines
712 B
INI

[tox]
envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
NOSE_OPENSTACK_RED=0.05
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
NOSE_OPENSTACK_STDOUT=1
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
nosetests -v {posargs}
whitelist_externals = *
[testenv:venv]
commands = {posargs}
[testenv:pep8]
commands = flake8
distribute = false
[flake8]
ignore = H703,H102,E265,E262,H233
show-source = true
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build,setup.py,tests/ci/*,scripts/*