tox.ini
author Sylvestre Ledru <sledru@mozilla.com>
Mon, 08 Dec 2014 17:49:00 +0100
changeset 5253 6eef74637b03f15198d6082f7123a3dce426fb1b
parent 5053 c10375c47914379b2781cf16feb61f0a6319ffd7
permissions -rw-r--r--
use retry_exceptions (bis)

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

[base]
deps =
    nose==1.3.0
    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]
basepython = python2.7
setenv =
    PYTHONPATH = {toxinidir}/lib/python/vendor/poster-0.8.1:{toxinidir}/lib/python:{toxinidir}/lib/python/vendor:{toxinidir}/sut_tools:$PYTHONPATH

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


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

[testenv:py27-hg3.1]
deps =
    {[base]deps}
    mercurial==3.1.2

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