forked from mkdocs/mkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (38 loc) · 1.23 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
[tox]
envlist =
py{26,27,33,34,35}-{unittests,integration,min-req},
flake8, markdown-lint, linkchecker, jshint, csslint
[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/
[testenv:jshint]
whitelist_externals = jshint
passenv=*
commands=jshint mkdocs/
[testenv:csslint]
whitelist_externals = csslint
passenv=*
commands=csslint mkdocs/