-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
49 lines (43 loc) · 1.04 KB
/
tox.ini
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[base]
name = appositionizer
[tox]
# No setup.py → skipsdist
skipsdist = True
envlist =
requires = setuptools >= 50
indexserver =
default = https://bbpteam.epfl.ch/repository/devpi/simple
[testenv]
basepython = python3
setenv =
PIP_INDEX_URL = https://bbpteam.epfl.ch/repository/devpi/simple
commands = true
[testenv:check-version]
requires = packaging
commands =
./tools/version_check.py
[testenv:docs]
changedir = doc
deps =
sphinx
sphinx-bluebrain-theme
# set warnings as errors using the -W sphinx option
commands =
sh -c 'sed "s/@PROJECT_VERSION@/$(git describe --tags)/" Doxyfile.in > Doxyfile'
doxygen Doxyfile
make html SPHINXOPTS=-W
sh -c 'sed "s/@PROJECT_VERSION@/$(git describe --tags)/;s%@DATE@%$(date +%d/%m/%Y)%g" metadata.md.in > build/html/metadata.md'
allowlist_externals =
doxygen
make
sh
[testenv:publish_docs]
usedevelop = False
passenv =
CI
DOCS_INTERNAL_TOKEN
DOCS_INTERNAL_TOKEN_NAME
deps =
docs-internal-upload
commands =
docs-internal-upload --docs-path doc/build/html