70a15588ac
The release management team have indicated this is their preferred way to collect release notes in future. Change-Id: Ia0580eb513dd78779b9b2adb849627cf5e19f89b Signed-off-by: Chuck Short <chuck.short@canonical.com>
35 lines
898 B
INI
35 lines
898 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py35,py34,py27,pypy,docs,pep8,venv
|
|
|
|
[testenv:docs]
|
|
basepython = python2.7
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py test --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:py27]
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
sphinx-build -b doctest doc/source doc/build
|
|
doc8 --ignore-path "doc/source/history.rst" doc/source
|
|
|
|
[testenv:venv]
|
|
basepython = python2.7
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
|
|
|
[testenv:cover]
|
|
commands = python setup.py test --coverage --testr-args="{posargs}"
|
|
|
|
[testenv:releasenotes]
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|