Add missing tox environments
This is needed for pep8 and docs gates. Change-Id: I3114c9a28e3dc459489f24f0d6d4d47f53fbc4ac
This commit is contained in:
parent
7ccb031845
commit
eadfe8ec0f
23
tox.ini
23
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue