b74a34956c
Change-Id: I97fed7332ed4985d17bce3c21cef0ed504b62b88
24 lines
565 B
INI
24 lines
565 B
INI
[tox]
|
|
minverson = 1.6
|
|
envlist = py34, py27, pep8, docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
exclude = .venv,.git,.tox,env,dist,*openstack/common*,surveilclient/common/utils.py,*lib/python*/,*egg,build
|