summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 16 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..7cab86b
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,16 @@
+[tox]
+minversion = 1.4
+envlist = pdf,html
+skipsdist = True
+
+[testenv]
+deps = -r{toxinidir}/requirements.txt
+
+[testenv:pdf]
+commands =
+ sphinx-build -b latex -c etc -d build/doctrees requirements build/requirements/latex
+ make -C build/requirements/latex LATEXOPTS='--interaction=nonstopmode' all-pdf
+
+[testenv:html]
+commands =
+ sphinx-build -b html -c etc -d build/doctrees requirements build/requirements/html