1[tox]
2envlist = py34,py27,pep8
3
4[testenv]
5setenv = VIRTUAL_ENV={envdir}
6deps = -r{toxinidir}/requirements.txt
7       -r{toxinidir}/test-requirements.txt
8commands =
9  python setup.py testr --slowest --testr-args='{posargs}'
10
11[testenv:docs]
12commands = python setup.py build_sphinx
13
14[testenv:pep8]
15commands = flake8
16
17[testenv:venv]
18commands = {posargs}
19
20[testenv:cover]
21setenv = VIRTUAL_ENV={envdir}
22commands =
23  python setup.py testr --coverage
24
25[flake8]
26show-source = true
27builtins = _
28exclude=.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg
29