Files
mkdocs/tox.ini
Dougal Matthews ac4a900e5e Use Tox to run the tests on Travis
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.
2014-10-01 16:50:33 +01:00

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