Merge "Add tox env to build docs"

This commit is contained in:
Jenkins 2014-04-18 21:27:50 +00:00 committed by Gerrit Code Review
commit 3722a614a9
2 changed files with 5 additions and 2 deletions

View File

@ -158,8 +158,7 @@ function run_pep8 {
function run_sphinx {
echo "Building sphinx..."
export DJANGO_SETTINGS_MODULE=openstack_dashboard.settings
${command_wrapper} sphinx-build -b html doc/source doc/build/html
${command_wrapper} python setup.py build_sphinx
echo "Build complete."
}

View File

@ -44,6 +44,10 @@ commands = /bin/bash run_tests.sh -N --integration {posargs}
basepython = python2.6
commands = /bin/bash run_tests.sh -N --integration {posargs}
[testenv:docs]
setenv = DJANGO_SETTINGS_MODULE=openstack_auth.tests.settings
commands = python setup.py build_sphinx
[tox:jenkins]
downloadcache = ~/cache/pip