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
|
[tox]
envlist = py{27,34,35,36,37,py,py3},sphinx-dev
[testenv]
whitelist_externals =
make
deps =
-rrequirements-test.txt
commands =
flake8 m2r.py setup.py tests
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:codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
skip_install = true
commands =
codecov
[flake8]
exclude = docs/*,testdoc/*,.git,__pycache__,.tox,.eggs,*.egg
|