python-vitrageclient/tox.ini
Sharat Sharma 1f0fcc8f6a Added the releasenotes
All the components of openstack maintain releasenotes. Similarly,
python-vitrageclient must also maintain releasenotes. This adds
the releasenotes directory to the vitrageclient repo.

Change-Id: I74e9f10da38b3e11888b3d00f78fd61b2910a46c
Implements: blueprint maintain-releasenotes
2017-01-10 11:09:38 +00:00

39 lines
889 B
INI

[tox]
minversion = 2.3.1
envlist = py35,py34,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html