[python-dtcwt] 28/38: tox: add docs testenv
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Mar 8 11:39:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-dtcwt.
commit e97ded2afcc4b87871dbe1d37495f9dd9ea6be64
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date: Wed Aug 5 10:49:54 2015 +0100
tox: add docs testenv
Add environment to run sphinx to build documentation.
---
tests/docs-requirements.txt | 5 +++++
tox.ini | 9 ++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/tests/docs-requirements.txt b/tests/docs-requirements.txt
new file mode 100644
index 0000000..ba26e17
--- /dev/null
+++ b/tests/docs-requirements.txt
@@ -0,0 +1,5 @@
+# Extra requirements for building documentation
+docutils
+ipython
+matplotlib
+sphinx
diff --git a/tox.ini b/tox.ini
index 98ac935..f9809fa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,12 @@
[tox]
-envlist=py{27,34}{,-opencl}
+envlist=py{27,34}{,-opencl},docs
+
+[testenv:docs]
+deps=
+ {[testenv]deps}
+ -rtests/docs-requirements.txt
+commands=
+ python setup.py build_sphinx
[testenv]
deps=
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git
More information about the debian-science-commits
mailing list