Files
kuryr-tempest-plugin/tox.ini
Michał Dulko 8b5dd76a46 Remove usage of oslosphinx
Seems like some recent update of Sphinx broke oslosphinx extension. We
don't really need it now, so this commit removes it by adopting the
"modern" way of building docs (mostly based on how it's done in
openstack/kuryr-kubernetes).

Change-Id: I8a0d5e3923b6497eb7c6944fc6d9adc9007bf5ec
Closes-Bug: 1824958
2019-04-16 09:56:20 +02:00

36 lines
873 B
INI

[tox]
envlist = py35,py27,pep8,releasenotes
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_*
[testenv:venv]
basepython = python3
commands = {posargs}
passenv = OS_*
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
basepython = python3
commands =
flake8 {posargs}
[flake8]
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,tools,doc