tox.ini
author Wander Lairson Costa <wcosta@mozilla.com>
Tue, 30 Jun 2015 15:45:46 -0300
changeset 5869 240bac6fe40b096958476a1e0edf22e753863ece
parent 5638 145730c24ed9120a489a0a8c9682f445d2c4f6f6
child 5895 650e916e8d466cc773ac5540c730777e7778027a
permissions -rw-r--r--
Bug 1178899: Install redo package. r=bhearsum redo is a dependency for tools.

[tox]
envlist = py27-hg2.6, py26-hg2.6
# py27-hg3.1 is also available

[base]
deps =
    nose==1.3.0
    rednose==0.4.1
    coverage==3.6
    pep8==1.4.3
    jinja2==2.6
    mock==1.0.1
    webob==1.2.3
    gevent==0.13.8
    IPy==0.81

[testenv]
setenv =
    PYTHONPATH = {toxinidir}/lib/python/vendor/poster-0.8.1:{toxinidir}/lib/python:{toxinidir}/lib/python/vendor:{toxinidir}/sut_tools
    HGRCPATH = {toxinidir}/lib/python/mozilla_buildtools/test/hgrc

commands =
    coverage erase
    coverage run --branch --source {toxinidir}/lib/python {envbindir}/nosetests -v --with-xunit --rednose --force-color {toxinidir}/lib/python


[testenv:py27-hg2.6]
basepython = python2.7
deps =
    {[base]deps}
    mercurial==2.6.2

[testenv:py27-hg3.2]
basepython = python2.7
deps =
    {[base]deps}
    mercurial==3.2.1

[testenv:py27-coveralls]
basepython = python2.7
deps=
    python-coveralls==2.4.3
commands=
    coveralls

[testenv:py26-hg2.6]
basepython = python2.6
deps =
    {[base]deps}
    mercurial==2.6.2

[pep8]
max-line-length = 159
exclude = vendor,.tox,