-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (30 loc) · 754 Bytes
/
tox.ini
File metadata and controls
34 lines (30 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tox]
minversion = 1.6
envlist = publishdocs
skipsdist = True
[testenv]
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
allowlist_externals =
bash
mkdir
mv
rsync
{toxinidir}/tools/build-index.sh
[testenv:venv]
commands = {posargs}
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
{toxinidir}/tools/build-index.sh
[testenv:publishdocs]
deps = {[testenv:docs]deps}
# 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