summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-05-27 21:42:10 +0900
committerkali <kali@leap.se>2013-05-30 02:56:28 +0900
commitc4ba840c7c0df81fa928bab2edd1f2a2e3379952 (patch)
tree90bbddd9c36cac8c88e51ac60b2ea40520e84846 /tox.ini
parentb24fd83c64f2b166a192e9cf7835e5f35a15c1e5 (diff)
adapt test suite to latest client code
* fix run_tests * add tox.ini * cleanup/update requirements * fix coverage reports * add pypi badge
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..e041515d
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,12 @@
+[tox]
+envlist = py26,py27
+
+[testenv]
+deps = -r{toxinidir}/pkg/requirements.pip
+ -r{toxinidir}/pkg/requirements-testing.pip
+sitepackages = True
+commands = xvfb-run nosetests leap --first-package-wins --exclude=soledad*
+
+[testenv:pep8]
+deps = pep8==1.1
+commands = pep8 --repeat --show-source src/leap setup.py --ignore=E202,W602 --exclude=*_rc.py --repeat