forked from mopidy/mopidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (41 loc) · 981 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
envlist = py27, py27-tornado23, py27-tornado31, 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-tornado23]
commands = py.test tests/http
deps =
{[testenv]deps}
tornado==2.3
[testenv:py27-tornado31]
commands = py.test tests/http
deps =
{[testenv]deps}
tornado==3.1.1
[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