summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJohn Anderson <sontek@gmail.com>2015-06-19 21:29:34 -0700
committerJohn Anderson <sontek@gmail.com>2015-06-19 21:29:34 -0700
commit8a981aa265dca09f76db2b734cd88d6654672cdf (patch)
tree55b034d7065e2e19b057d084cc410c1c978176a9 /tox.ini
parent47a9e40976040d60a42a28e5ba8a1b91fe5733a8 (diff)
parent5a135c0f72e54f570da69872dc32a2b6c384e2ff (diff)
downloadpymemcache-8a981aa265dca09f76db2b734cd88d6654672cdf.tar.gz
Merge branch 'master' of github.com:pinterest/pymemcache into switch_to_pytest
Conflicts: .gitignore tox.ini
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 252aff5..09c0e1f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,14 @@
[tox]
-envlist = py26, py27, pypy, py33, py34
+envlist = py26, py27, pypy, py33, py34, docs
[testenv]
commands =
pip install -r test-requirements.txt
pip install -e .
py.test {posargs}
+
+[testenv:docs]
+commands =
+ pip install -r docs-requirements.txt
+ sphinx-apidoc -o docs/apidoc/ pymemcache
+ sphinx-build -b html docs/ docs/_build