tox.ini 496 Bytes
Newer Older
dz0ny's avatar
Use tox  
dz0ny committed
1
2
3
4
5
[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
6
# vcrpy tries to patch tornado, so if it is present, it must be recent.
dz0ny's avatar
Use tox  
dz0ny committed
7
8
deps =
    mock
9
10
    pytest
    pytest-cov
11
    pytest-capturelog
12
13
14
15
16
17
18
19
    pytest-xdist
    vcrpy
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=mopidy_youtube --cov-report=term-missing \
        {posargs}
dz0ny's avatar
Use tox  
dz0ny committed
20
21
22
23

[testenv:flake8]
deps =
    flake8
24
    flake8-import-order
25
26
skip_install = true
commands = flake8