tox.ini 513 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
    pytest-xdist
13
    tornado >= 4
14
15
16
17
18
19
20
    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
21
22
23
24

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