mopidy/tox.ini
Stein Magnus Jodal bbeb5c03aa Require Tornado >= 3.2
Survey of version available in the oldest distros we care about:

- Debian 8, squeeze: 3.2.2
- Debian 8, squeeze-backports: 4.2.0
- Ubuntu 16.04 LTS: 4.2.1
- Arch Linux: 4.4.2
2016-10-26 00:39:42 +02:00

42 lines
865 B
INI

[tox]
envlist = py27, py27-tornado32, docs, flake8
[testenv]
sitepackages = true
commands =
py.test \
--basetemp={envtmpdir} \
--cov=mopidy --cov-report=term-missing \
-n 4 \
{posargs}
deps =
mock
pytest
pytest-capturelog
pytest-cov
pytest-xdist
responses
[testenv:py27-tornado32]
commands = py.test tests/http
deps =
{[testenv]deps}
tornado==3.2.2
[testenv:docs]
deps = -r{toxinidir}/docs/requirements.txt
changedir = docs
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
deps =
flake8
flake8-import-order
pep8-naming
commands = flake8 --show-source --statistics mopidy tests
[testenv:linkcheck]
deps = -r{toxinidir}/docs/requirements.txt
changedir = docs
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/html