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.

42 lines
1.2 KiB

minversion = 2.0
envlist = py34,py27,pep8
skipdist = True
usedevelop = True
install_command = {toxinidir}/tools/ {env:UPPER_CONSTRAINTS_FILE:} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
whitelist_externals = ostestr
commands = flake8
commands = {posargs}
commands =
python test --coverage --coverage-package-name=osc_lib --testr-args='{posargs}'
coverage report
commands = oslo_debug_helper -t osc_lib/tests {posargs}
commands = python build_sphinx
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
show-source = True
exclude = .git,.tox,dist,doc,*lib/python*,*egg,build,tools
# If 'ignore' is not set there are default errors and warnings that are set
# Doc:
ignore = __