mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 13:24:12 +00:00
5adf204b34
In automation, `GECKO_PATH` always refers to the source directory, so use that in mozharness rather than assuming it is somewhere relative to `work_dir`. Differential Revision: https://phabricator.services.mozilla.com/D62403 --HG-- extra : moz-landing-system : lando
38 lines
777 B
INI
38 lines
777 B
INI
[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
|