aboutsummaryrefslogtreecommitdiffstats
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 00000000..4a80fc8b
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,16 @@
+[tox]
+envlist = py26,py27,pypy,py32,py33,docs,pep8
+
+[testenv]
+deps = pytest
+commands = py.test
+
+[testenv:docs]
+deps = sphinx
+basepython = python2.7
+changedir = docs
+commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
+
+[testenv:pep8]
+deps = flake8
+commands = flake8 cryptography/ tests/ docs/