summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 92c44f6dbe7a9a1ba0f720c54959b45653d32bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tox]
envlist = py26,py27,py32,py33,pypy,style,docs

[testenv]
# tox passes --pre to pip by default, but we don't want that
install_command = pip install {opts} {packages}
distribute = False
commands = nosetests -d --with-coverage --cover-inclusive --cover-package stevedore []
deps = 
    nose
    mock
    coverage

[testenv:style]
deps = flake8
commands = flake8 stevedore setup.py

[testenv:docs]
deps = -r{toxinidir}/docs/requirements.txt
commands = python setup.py build_sphinx