mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Rather than repeating the steps in the Travis config, use Travis to run tox. This has the added benifit of verifying the setup.py install into a virtualenv.
17 lines
440 B
INI
17 lines
440 B
INI
[tox]
|
|
envlist = py26,py27,py33,py34,docs,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]
|
|
commands={envbindir}/mkdocs build
|
|
|
|
[testenv:flake8]
|
|
deps=-rtest-requirements.txt
|
|
commands={envbindir}/flake8 mkdocs --ignore=E128,E501 --exclude=__init__.py,compat.py
|