You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

minversion = 2.0
envlist = py35,py27,pep8
skipsdist = True
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:} {opts} {packages}
setenv =
deps = .[test]
commands = python test --slowest --testr-args='{posargs}'
commands = flake8 {posargs}
# Used by openstack-infra to build the doc
deps = -r{toxinidir}/doc/requirements.txt
commands = {posargs}
commands =
python test --coverage --testr-args='{posargs}'
coverage report
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/source/ref
python build_sphinx
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
commands = oslo_debug_helper -t pankoclient/tests {posargs}
show-source = True
builtins = _