openstack-virtual-baremetal/tox.ini
Ben Nemec a0733893f6 Add index of all available sample environments
This should make it easier for users to see what options are
available for use.
2017-08-09 10:03:42 -05:00

33 lines
767 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py34,py27,pep8
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:pep8]
deps = flake8
commands = flake8
[testenv:cover]
commands = python setup.py test --coverage --coverage-package-name=openstack_virtual_baremetal --testr-args='{posargs}'
[testenv:genconfig]
commands = python bin/environment-generator.py sample-env-generator --index doc/source/deploy/environment-index.rst
[flake8]
ignore = H803
show-source = True
exclude = .tox,dist,doc,*.egg,build