From 58c1e981a584835ab081f5b3ecfd7461ff17eb7f Mon Sep 17 00:00:00 2001
From: Tres Seaver <tseaver@palladion.com>
Date: Fri, 05 Apr 2013 18:06:06 +0200
Subject: [PATCH] Add 'docs' to tox builds.

---
 tox.ini |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/tox.ini b/tox.ini
index 8919380..89288a8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,3 +26,13 @@
 # we separate coverage into its own testenv because a) "last run wins" wrt
 # cobertura jenkins reporting and b) pypy and jython can't handle any
 # combination of versions of coverage and nosexcover that i can find.
+
+[testenv:docs]
+basepython =
+    python2.6
+commands = 
+    sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
+    sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
+deps =
+    Sphinx
+    repoze.sphinx.autointerface

--
Gitblit v1.9.3