Permalink
Browse files

Build / test docs under tox.

  • Loading branch information...
1 parent e6f07d4 commit a0bd9f4731b3fbeb5c5177ff57ae2fd722dabf95 @tseaver tseaver committed Apr 26, 2013
Showing with 10 additions and 1 deletion.
  1. +10 −1 tox.ini
View
11 tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
- py26,py27,cover
+ py26,py27,cover,docs
[testenv]
commands =
@@ -28,3 +28,12 @@ deps =
# 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

0 comments on commit a0bd9f4

Please sign in to comment.