From 72c8f3be290f14130463f5df6a7e189cb8e6dcdf Mon Sep 17 00:00:00 2001
From: fuzzyman <fuzzyman@localhost>
Date: Mon, 12 Jul 2010 20:29:41 +0000
Subject: [PATCH] Adding sphinx testing to tox.ini for Python 2.6 and 2.7

---
 tox.ini | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index 9f79543..254b091 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,24 @@
 [tox]
 envlist = py24,py25,py26,py27
+
 [testenv]
-commands=python setup.py test
 deps=unittest2
+commands=python setup.py test
+
+[testenv:py26]
+commands=
+    python setup.py test
+    sphinx-build -b doctest docs html
+    sphinx-build docs html
+deps = 
+    unittest2
+    sphinx
+
+[testenv:py27]
+commands=
+    python setup.py test
+    sphinx-build -b doctest docs html
+    sphinx-build docs html
+deps = 
+    unittest2
+    sphinx
-- 
GitLab