mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
It incorrectly inspects the version of 2.10+ and thinks it is lower than 2.2. See: https://github.com/wummel/linkchecker/issues/649
35 lines
1.1 KiB
INI
35 lines
1.1 KiB
INI
[tox]
|
|
envlist =
|
|
py{26,27,33,34,35}-{unittests,integration,min-req},
|
|
flake8, markdown-lint, linkchecker
|
|
|
|
[testenv]
|
|
passenv = LANG
|
|
deps=
|
|
py{26,27,33,34,35,py,py3}-{unittests,integration}: -rrequirements/project.txt
|
|
py{26,27,33,34,35,py,py3}-min-req: -rrequirements/project-min.txt
|
|
py{26,27,33,34,35,py,py3}-{unittests,min-req}: -rrequirements/test.txt
|
|
commands=
|
|
py{26,27,33,34,35,py,py3}-{unittests,min-req}: {envbindir}/nosetests --with-coverage --cover-package mkdocs mkdocs
|
|
py{26,27,33,34,35,py,py3}-integration: {envpython} -m mkdocs.tests.integration --output={envtmpdir}/builds
|
|
|
|
[testenv:flake8]
|
|
basepython = python2.7
|
|
deps=-rrequirements/test.txt
|
|
commands={envbindir}/flake8 mkdocs --max-line-length=119 --exclude=mkdocs/compat.py
|
|
|
|
[testenv:markdown-lint]
|
|
whitelist_externals = mdl
|
|
passenv = *
|
|
commands=mdl README.md CONTRIBUTING.md docs/
|
|
|
|
[testenv:linkchecker]
|
|
basepython = python2.7
|
|
passenv=*
|
|
deps=
|
|
requests<=2.9.0
|
|
LinkChecker
|
|
commands=
|
|
{envpython} -m mkdocs.tests.integration --output={envtmpdir}/builds
|
|
linkchecker {envtmpdir}/builds/
|