forked from brechtm/rinohtype
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
120 lines (105 loc) · 2.15 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[tox]
envlist = check,py{35,36,37,38,39,310,py3},regression
[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38
3.9: py39
pypy3: pypy3
[travis]
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9-dev: py39
nightly: py310
pypy3: pypy3
[base]
deps =
pytest
pytest-xdist
pytest-cov
coverage
pygments
[testenv]
passenv = HOME TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH WITH_COVERAGE BASETEMP MSYSTEM
deps =
{[base]deps}
sphinx
changedir = {toxinidir}
commands =
python run_tests.py {posargs} tests
[testenv:check]
deps =
docutils
check-manifest>=0.32
skip_install = true
usedevelop = false
commands =
python setup.py check --strict --metadata --restructuredtext
check-manifest
[testenv:regression]
deps =
{[base]deps}
pytest-assume
pytest-console-scripts
commands =
python run_tests.py -m "not longrunning" {posargs} tests_regression
[testenv:longrunning]
deps =
{[testenv:regression]deps}
./tests_regression/sphinx
commands =
python run_tests.py -m longrunning {posargs:-s} tests_regression
[docs]
deps =
-r{toxinidir}/doc/requirements.txt
whitelist_externals =
make
[testenv:check-docs]
deps =
doc8
{[docs]deps}
whitelist_externals =
{[docs]whitelist_externals}
ignore_errors = true
commands =
doc8 README.rst CHANGES.rst CONTRIBUTING.rst DEVELOPING.rst doc
python doc/build.py doctest
[testenv:build-docs]
basepython = python3.8
deps =
sphinx_rtd_theme
{[docs]deps}
changedir = {toxinidir}/doc
whitelist_externals =
{[docs]whitelist_externals}
commands =
python build.py {posargs}
[testenv:macapp]
basepython = python3.7
;skip_install = true https://github.com/tox-dev/tox/issues/974
usedevelop = false
deps =
briefcase
passenv =
GITLAB_TOKEN
commands =
python macapp.py {posargs:--use-tox-sdist}
[testenv:wininst]
basepython = python3.5
deps =
{[docs]deps}
pynsist>=1.10
passenv =
GITLAB_TOKEN
PROCESSOR_ARCHITECTURE
LOCALAPPDATA
setenv =
SPHINXOPTS="-Dhtml_theme=bizstyle"
commands =
python doc/build.py rinoh htmlhelp
python wininst.py {posargs:--use-tox-sdist}