
openstack/common was used to kepp copied files from oslo-incubator, we don't use oslo-incubator stuff, so remove it. Change-Id: Id426c41e6ae277ed1f829820771d5ffc31a81166
39 lines
889 B
INI
39 lines
889 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py34,py27,pypy,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:cover]
|
|
commands = python setup.py test --coverage --coverage-package-name=os_client_config --testr-args='{posargs}'
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
{[testenv]deps}
|
|
readme
|
|
commands =
|
|
python setup.py build_sphinx
|
|
python setup.py check -r -s
|
|
|
|
[testenv:releasenotes]
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
|
|
|
[flake8]
|
|
show-source = True
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,releasenotes/source/conf.py
|
|
|