api-site/tox.ini
Andreas Jaeger f2f69c47ba Cleanup repo
Remove unused content, update README.

Update requirements to what should be needed.

Change-Id: I3acd294314ba05da29611f789d75ed9fc8b21faf
2019-07-24 18:42:15 +02:00

36 lines
689 B
INI

[tox]
minversion = 1.6
envlist = checkbuild
skipsdist = True
[testenv]
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals =
bash
mkdir
mv
rsync
[testenv:venv]
commands = {posargs}
[testenv:checkbuild]
basepython = python2
commands =
# Build website index
{toxinidir}/tools/build-index.sh build
[testenv:publishdocs]
# Prepare documents (without www) so that they can get published on
# developer.openstack.org with just copying publish-docs/api-ref over.
commands =
# Build website index
{toxinidir}/tools/build-index.sh publish
[testenv:docs]
commands =
{toxinidir}/tools/build-index.sh publish