Merge "Undo tox -e docs pip install sphinx workaround"

This commit is contained in:
Jenkins 2015-07-31 16:06:40 +00:00 committed by Gerrit Code Review
commit 1924f12147

View File

@ -150,15 +150,10 @@ commands =
coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i
[testenv:venv]
commands =
# TODO(sdague) this is a brute force work around for pip not respecting test-requirements.txt
pip install "sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2"
{posargs}
commands = {posargs}
[testenv:docs]
commands =
# TODO(sdague) this is a brute force work around for pip not respecting test-requirements.txt
pip install "sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2"
python setup.py build_sphinx
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'