aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-07 12:18:02 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-07 12:18:02 -0700
commit0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0 (patch)
tree5856475c12e0a01646e98a3ea2972de2b5a4740f /tox.ini
parent6c7cfeb02076bdc831df54a3688b3c7126baf38a (diff)
downloadcryptography-0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0.tar.gz
cryptography-0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0.tar.bz2
cryptography-0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0.zip
Move all tests to be controlled by tox
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/