forked from Pylons/docs-style-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
43 lines (37 loc) · 957 Bytes
/
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
[tox]
envlist =
lint,
py36,py37,
html,linkcheck,doctest,epub,pdf
[testenv]
# Most of these are defaults but if you specify any you can't fall back
# to defaults for others.
basepython =
py36: python3.6
py37: python3.7
py3: python3.6
[testenv:html]
basepython = python3.6
whitelist_externals = make
commands =
make -C docs html BUILDDIR={envdir} "SPHINXOPTS=-W -E"
[testenv:linkcheck]
basepython = python3.6
whitelist_externals = make
commands =
make -C docs linkcheck BUILDDIR={envdir} "SPHINXOPTS=-W -E"
[testenv:doctest]
basepython = python3.6
whitelist_externals = make
commands =
make -C docs doctest BUILDDIR={envdir} "SPHINXOPTS=-W -E"
[testenv:epub]
basepython = python3.6
whitelist_externals = make
commands =
make -C docs epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
[testenv:pdf]
basepython = python3.6
whitelist_externals = make
commands =
make -C docs latexpdf BUILDDIR={envdir} "SPHINXOPTS=-W -E"