Revision 1c480dfc711b7818b08824d5974f722c7d929750 authored by Jeremy Low on 03 October 2017, 01:15:30 UTC, committed by GitHub on 03 October 2017, 01:15:30 UTC
Update the exception handle change to ConfigParser class for py2/py3 compatibility.
2 parent s e43600a + dc62607
Raw File
tox.ini
[tox]
envlist = clean,py27,py36,pypy,pypy3,codestyle,coverage
skip_missing_interpreters = True

[testenv]
deps = -Ur{toxinidir}/requirements.txt
       -Ur{toxinidir}/requirements.testing.txt

commands = coverage run --parallel-mode --source=twitter setup.py test --addopts "--ignore=venv"

whitelist_externals = /bin/bash
                      make
setenv =
    PYTHONWARNINGS=always::DeprecationWarning

[testenv:clean]
deps = coverage
commands = coverage erase

[testenv:coverage]
deps = coverage
commands = coverage combine
           coverage html
           coverage report


[testenv:codestyle]
deps = pycodestyle
commands = pycodestyle --config={toxinidir}/setup.cfg twitter tests
back to top