summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..1a67bf2
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+envlist = py26, py27, py32, pypy, jython
+
+[testenv]
+commands =
+ {envpython} pep8.py --testsuite testsuite
+ {envpython} pep8.py --repeat --statistics pep8.py
+ {envpython} pep8.py --doctest