tox.ini
[tox]
envlist=py26,py27,py32,py33,py34,py35,hg35,hg36,hg41
[testenv]
deps=
nose
passenv=
TRAVIS*
commands=
nosetests
flake8 src tests
[testenv:py2_common]
deps=
{[testenv]deps}
six
flake8
mercurial
[testenv:py3_common]
deps=
{[testenv]deps}
six
mock
flake8
[testenv:py26]
deps=
{[testenv:py2_common]deps}
mock < 1.1.0
unittest2
commands=
nosetests
[testenv:py27]
deps=
{[testenv:py2_common]deps}
mock
[testenv:py32]
deps=
{[testenv:py3_common]deps}
[testenv:py33]
deps=
{[testenv:py3_common]deps}
[testenv:py34]
deps=
{[testenv:py3_common]deps}
[testenv:py35]
deps=
{[testenv:py3_common]deps}
[testenv:hg35]
basepython= python2.7
deps=
{[testenv:py3_common]deps}
mercurial<3.6
[testenv:hg36]
basepython= python2.7
deps=
{[testenv:py3_common]deps}
mercurial<3.7
[testenv:hg41]
basepython= python2.7
deps=
{[testenv:py3_common]deps}
mercurial<4.2
[testenv:coverage]
basepython= python2.7
deps=
{[testenv:py27]deps}
coverage
coveralls
commands=
nosetests --with-coverage --cover-package=highlights
coveralls