summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-07 05:21:30 +0900
committerkali <kali@leap.se>2012-09-07 05:31:50 +0900
commit3fa754c39bcdea355a4ec6b0ddfaeead2040a86a (patch)
tree78004630c5eaa909c488d88ac68a46e999bb242d /tox.ini
parent0932d79369fe381c20f4b8f0260a1cd850d979a7 (diff)
parent5006fda226a3fa6afda231df8aa733477bd4e420 (diff)
Merge branch 'feature/support-2.6' into develop
Closes #390. Run tox -v to run testsuite against 2.6 and 2.7. Tests happily passing on 2.6 :)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..bf4d8fb6
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,12 @@
+[tox]
+envlist = py26,py27,pep8
+
+[testenv]
+deps = -r{toxinidir}/pkg/requirements.pip
+ -r{toxinidir}/pkg/test-requirements.pip
+sitepackages = True
+commands = nosetests
+
+[testenv:pep8]
+deps = pep8==1.1
+commands = pep8 --repeat --show-source src/leap setup.py --ignore=E202,W602 --exclude=*_rc.py --repeat