https://github.com/bear/python-twitter
Raw File
Tip revision: c71c1973979fb75fbd5a0161b43dc341c71b0afc authored by Jonathan Schultz on 28 March 2017, 21:33:36 UTC
Merge branch 'master' of https://github.com/bear/python-twitter
Tip revision: c71c197
tox.ini
[tox]
envlist = clean,py27,py35,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