summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-01-26 20:09:04 +0100
committerRuben Pollan <meskio@sindominio.net>2017-01-26 23:13:58 +0100
commitcb3128966983c26d747bee1e6a79242e9512c21f (patch)
tree351282af45696afaf4d9356f64a573035c1b0085 /tox.ini
parenteec79703d4f09580b20b06f1c8ca16d4068e128f (diff)
[test] run the tests with tox and py.test
- Resolves: #14
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..417bd18
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+envlist = py27
+skipsdist=True
+
+[testenv]
+commands = py.test --cov-report=html \
+ --cov-report=term \
+ --cov=leap.mx \
+ --pep8 {posargs}
+usedevelop = True
+deps =
+ -r{toxinidir}/pkg/requirements-testing.pip
+setenv =
+ HOME=/tmp