tripleo-docs/tox.ini
James Slagle 02dd590963 Fix doc build location
The built html docs should be under doc/build/html so that the jenkins
jobs know where to get them from in order for publishing.

Change-Id: I184ffeb1239c444a496bd340406951baa0c68eca
2015-09-08 12:42:16 -04:00

33 lines
735 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]
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
[testenv:genconfig]
commands = oslo-config-generator --config-file config-generator/undercloud.conf