Merge "Undo tox -e docs pip install sphinx workaround"
This commit is contained in:
commit
1924f12147
7
tox.ini
7
tox.ini
@ -150,15 +150,10 @@ commands =
|
|||||||
coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i
|
coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands =
|
commands = {posargs}
|
||||||
# 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}
|
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands =
|
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
|
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'
|
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user