From 81fa6c7b4bd5a1d57cc095395b9d2ba3eeb6c20f Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 8 Sep 2014 13:47:06 -0700 Subject: [PATCH] Add docs environment to tox.ini As per the governance resolution https://review.openstack.org/119875, projects should have a docs environment in their tox.ini testing interface. Add one. Change-Id: Ib3548bc23713e120089ae29b5c4e851de48cf8d3 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index c8a603b1e3..325adae288 100644 --- a/tox.ini +++ b/tox.ini @@ -11,3 +11,6 @@ install_command = pip install {opts} {packages} deps = bashate whitelist_externals = bash commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -name \*rc -or -name functions\* -or \( -wholename lib/\* -and -not -name \*.md \) \) -print0 | xargs -0 bashate -v" + +[testenv:docs] +commands = python setup.py build_sphinx