mopidy/tox.ini
Stein Magnus Jodal 7a0ade4112 tox: Remove pytest-xdist
This seems to fix the Travis build that recently started getting an
ImportError on `gobject`.
2018-09-29 23:32:30 +02:00

33 lines
700 B
INI

[tox]
envlist = py27, docs, flake8
[testenv]
sitepackages = true
commands =
pytest \
--basetemp={envtmpdir} \
--cov=mopidy --cov-report=term-missing \
{posargs}
deps =
mock
pytest
pytest-cov
responses
[testenv:docs]
deps = -r{toxinidir}/docs/requirements.txt
changedir = docs
commands = python -m sphinx -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 = python -m sphinx -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/html