summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozharness/tox.ini')
-rw-r--r--testing/mozharness/tox.ini27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/mozharness/tox.ini b/testing/mozharness/tox.ini
new file mode 100644
index 000000000..e2e1c3009
--- /dev/null
+++ b/testing/mozharness/tox.ini
@@ -0,0 +1,27 @@
+[tox]
+envlist = py27-hg3.7
+
+[base]
+deps =
+ coverage
+ nose
+ rednose
+
+[testenv]
+basepython = python2.7
+setenv =
+ HGRCPATH = {toxinidir}/test/hgrc
+
+commands =
+ coverage run --source configs,mozharness,scripts --branch {envbindir}/nosetests -v --with-xunit --rednose --force-color {posargs}
+
+[testenv:py27-hg3.7]
+deps =
+ {[base]deps}
+ mercurial==3.7.3
+
+[testenv:py27-coveralls]
+deps=
+ python-coveralls==2.4.3
+commands=
+ coveralls