2011-07-02 15:54:24 -05:00
|
|
|
[tox]
|
2015-04-11 15:02:53 +02:00
|
|
|
envlist = py27,py33,py34,docs
|
2011-07-02 15:54:24 -05:00
|
|
|
|
|
|
|
|
[testenv]
|
2015-04-11 15:02:53 +02:00
|
|
|
basepython =
|
|
|
|
|
py27: python2.7
|
|
|
|
|
py33: python3.3
|
|
|
|
|
py34: python3.4
|
|
|
|
|
usedevelop=True
|
2013-01-11 02:57:43 +01:00
|
|
|
deps =
|
2014-01-10 07:34:13 +00:00
|
|
|
-rdev_requirements.txt
|
2015-04-11 15:02:53 +02:00
|
|
|
nose
|
|
|
|
|
nose-cov
|
|
|
|
|
coveralls
|
|
|
|
|
|
|
|
|
|
commands =
|
|
|
|
|
{envpython} --version
|
|
|
|
|
nosetests -sv --with-coverage --cover-package=pelican pelican
|
|
|
|
|
coveralls
|
|
|
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
|
basepython = python2.7
|
|
|
|
|
deps =
|
|
|
|
|
sphinx
|
|
|
|
|
sphinx_rtd_theme
|
|
|
|
|
changedir = docs
|
|
|
|
|
commands =
|
|
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|