forked from mkdocs/mkdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
25 lines (21 loc) · 687 Bytes
/
tox.ini
File metadata and controls
25 lines (21 loc) · 687 Bytes
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
[tox]
envlist = py26,py27,py33,py34,docs,json,flake8
[testenv]
deps=
-rrequirements.txt
-rtest-requirements.txt
commands=
{envbindir}/nosetests --with-coverage --cover-package mkdocs --cover-html --cover-html-dir {envtmpdir}/coverage mkdocs/test.py
[testenv:docs]
usedevelop = True
commands=
{envbindir}/coverage run --source {toxinidir}/mkdocs {envbindir}/mkdocs build
coverage report -m
[testenv:json]
usedevelop = True
commands=
{envbindir}/coverage run --source {toxinidir}/mkdocs {envbindir}/mkdocs json
coverage report -m
[testenv:flake8]
deps=-rtest-requirements.txt
commands={envbindir}/flake8 mkdocs --ignore=E128,E501 --exclude=mkdocs/compat.py