Add missing tox environments

This is needed for pep8 and docs gates.

Change-Id: I3114c9a28e3dc459489f24f0d6d4d47f53fbc4ac
This commit is contained in:
Mark Hamzy 2016-10-21 08:01:31 -05:00
parent 7ccb031845
commit eadfe8ec0f
1 changed files with 22 additions and 1 deletions

23
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py27
envlist = py27,py34,pypy,pep8
[testenv:devenv]
envdir = devenv
@ -81,3 +81,24 @@ commands = mkdir -p testenv/var/run/
--conf-dir=testenv/etc/molteniron/ \
--pid-dir=testenv/var/run/ \
stop
[testenv:pep8]
#@TODO - too many failures
# pass pep8 in a later patch
#commands = flake8
[testenv:venv]
#@TODO - a separate patch
#commands = {posargs}
commands = mkdir -p doc/build/html/
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
# E712 is ignored on purpose, since it is normal to use 'column == true'
# in sqlalchemy.
# The rest of the ignores are TODOs
ignore = E712
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools