tripleo-docs/tox.ini
Dougal Matthews e725bf7162 Update the tox config to build the docs by default
We have no code here for the py27 and py34 envs.

Change-Id: I10e42592e3da4ef244ad99e794fff5e5bfdb8964
2016-03-21 08:49:10 +00:00

30 lines
629 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = docs,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]
whitelist_externals = bash
# We fail pretty horribly on bashate right now
#commands = bash -c "find scripts -type f | xargs bashate -v"
# flake8
commands = flake8
[flake8]
ignore = H803
show-source = True
exclude = .tox,dist,doc,*.egg,build