forked from miyakogi/m2r
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
37 lines (32 loc) · 769 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
[tox]
envlist = py{27,34,35,36,37,38,py,py3},sphinx-dev,flake8
[testenv]
whitelist_externals =
make
deps =
-rrequirements-test.txt
commands =
coverage run -m unittest discover tests
coverage run -a -m sphinx -b html -d docs/_build/toctree -E -W -n -j auto -q docs docs/_build/html
coverage report
make clean
[testenv:sphinx-dev]
recreate = true
deps =
git+https://github.com/sphinx-doc/sphinx
commands =
sphinx-build -b html -d docs/_build/toctree -E -W -n -j auto docs docs/_build/html
make clean
[testenv:flake8]
deps =
flake8
commands =
flake8 m2r.py setup.py tests
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
skip_install = true
commands =
codecov
[flake8]
exclude = docs/*,testdoc/*,.git,__pycache__,.tox,.eggs,*.egg