summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 3e087bd9a1764edcc0fad9d6c837be35e4ba24b5 (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,pep8,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:pep8]
deps = flake8
commands = flake8 stevedore setup.py

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