summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/tox.ini
blob: 7e98dac340d00d9279c987ca5ea74d9a1b34381a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
envlist = py27-hg5.2, py36-hg5.2

[base]
deps =
    coverage
    distro
    nose
    rednose
    {toxinidir}/../mozbase/mozlog
    {toxinidir}/../../third_party/python/mock-1.0.0/
mozbase = {toxinidir}/../mozbase/


[testenv]
setenv =
    HGRCPATH = {toxinidir}/test/hgrc
    PYTHONPATH = $PYTHONPATH:{[base]mozbase}/manifestparser:{[base]mozbase}/mozfile:{[base]mozbase}/mozinfo:{[base]mozbase}/mozprocess

commands =
    coverage run --source configs,mozharness,scripts --branch {envbindir}/nosetests -v --with-xunit --rednose --force-color {posargs}

[testenv:py27-hg5.2]
deps =
    {[base]deps}
    mercurial==5.2.1

[testenv:py36-hg5.2]
deps =
    {[base]deps}
    mercurial==5.2.1

[testenv:py27-coveralls]
deps=
    python-coveralls==2.4.3
commands=
    coveralls