forked from brechtm/rinohtype
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
126 lines (109 loc) · 2.33 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
121
122
123
124
125
126
[tox]
envlist = check,py{34,35,36,37,py3}
[travis]
python =
3.4: py34
3.5: py35
3.6-dev: py36
nightly: py37
pypy3: pypy3
[base]
deps =
pytest
pytest-cov
coverage
pygments
[testenv]
passenv = 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
./tests_regression/sphinx
commands =
python run_tests.py -m "not longrunning" {posargs} tests_regression
[testenv:longrunning]
deps =
{[testenv:regression]deps}
commands =
python run_tests.py -m longrunning {posargs:-s} tests_regression
[docs]
deps =
-r{toxinidir}/doc/requirements.txt
whitelist_externals =
make
[testenv:test-docs]
deps =
doc8
{[docs]deps}
whitelist_externals =
{[docs]whitelist_externals}
ignore_errors = true
commands =
doc8 README.rst CHANGES.rst CONTRIBUTING.rst doc
python doc/build.py doctest
[testenv:build-docs]
basepython = python3.6
deps =
sphinx_rtd_theme
{[docs]deps}
changedir = {toxinidir}/doc
whitelist_externals =
{[docs]whitelist_externals}
commands =
python build.py {posargs}
[testenv:macapp]
skip_install = true
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}
[pytest]
testpaths =
tests
tests_regression
norecursedirs =
tests_regression/helpers
tests_regression/sphinx
markers =
longrunning: long running regression tests
[doc8]
# we should specify ignore-path-errors, but doc8 is broken (bug #1610287)
# doc/style/*.rst D005 No newline at end of file
# doc/elementstyling.rst D000 Interpreted text role "index" not implemented.
ignore-path =
doc/_build,
doc/style,
doc/elementstyling.rst