forked from brechtm/rinohtype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
88 lines (77 loc) · 1.46 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
[tox]
envlist = check,py{33,34,35,36,37,py3}
[tox:travis]
3.3 = py33
3.4 = py34
3.5 = py35
3.6-dev = py36
nightly = py37
pypy3.3-5.2-alpha1 = pypy3
[base]
deps =
pytest
pytest-cov
coverage
pygments
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH WITH_COVERAGE
deps =
{[base]deps}
sphinx
changedir = {toxinidir}
whitelist_externals =
bash
commands =
bash run_tests.sh {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 =
bash run_tests.sh {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
make -C doc doctest
[testenv:build-docs]
basepython = python3.6
deps =
sphinx_rtd_theme
{[docs]deps}
changedir = {toxinidir}/doc
whitelist_externals =
{[docs]whitelist_externals}
commands =
make {posargs}
[pytest]
testpaths =
tests
tests_regression
norecursedirs =
tests_regression/helpers
tests_regression/sphinx
[doc8]
ignore-path =
doc/_build,
doc/advanced.rst, # doc8 bug #1610287