forked from strictdoc-project/strictdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
88 lines (80 loc) · 1.94 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# how to substitute tox environment dependencies with considering the Python
# version?
# https://stackoverflow.com/a/71195055/598057
[tox]
envlist = {py37,py38,py39,py310,py311,py312}-{development,check,documentation,release,release-local,pyinstaller}
toxworkdir=build/tox
[testenv]
skip_install = true
commands =
echo "Must not reach here!"; exit 1
[testenv:{py37,py38,py39,py310,py311,py312}-development]
package = "skip"
skip_install = true
deps =
-rrequirements.bootstrap.txt
# Reload files when changed (used by 'invoke watch')
watchdog>=2.1.7
commands =
python developer/pip_install_strictdoc_deps.py
{posargs}
[testenv:{py37,py38,py39,py310,py311,py312}-check]
package = "skip"
skip_install = true
deps =
-rrequirements.bootstrap.txt
-rrequirements.check.txt
pass_env=
CHROMEWEBDRIVER
STRICTDOC_CACHE_DIR
commands =
python developer/pip_install_strictdoc_deps.py
{posargs}
[testenv:{py37,py38,py39,py310,py311,py312}-documentation]
package = "skip"
skip_install = true
allowlist_externals =
cd
cp
make
deps =
-rrequirements.bootstrap.txt
# Documentation
sphinx>=3.2.1
guzzle_sphinx_theme~=0.7.11
commands =
python developer/pip_install_strictdoc_deps.py
{posargs}
[testenv:{py37,py38,py39,py310,py311,py312}-release]
package = "skip"
skip_install = true
allowlist_externals =
rm
deps =
-rrequirements.bootstrap.txt
build
twine
commands =
{posargs}
[testenv:{py37,py38,py39,py310,py311,py312}-release-local]
package = "skip"
skip_install = true
allowlist_externals =
rm
deps =
-rrequirements.bootstrap.txt
build
twine
{[testenv:py37-check]deps}
commands =
python developer/pip_install_strictdoc_deps.py
{posargs}
[testenv:{py37,py38,py39,py310,py311,py312}-pyinstaller]
package = "skip"
skip_install = true
deps =
-rrequirements.bootstrap.txt
pyinstaller
commands =
python developer/pip_install_strictdoc_deps.py
{posargs}