2011-07-02 15:54:24 -05:00
|
|
|
[tox]
|
2015-10-19 16:30:52 +02:00
|
|
|
envlist = py{27,33,34,35},docs,flake8
|
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
|
2015-10-19 16:30:52 +02:00
|
|
|
py35: python3.5
|
2015-05-13 21:08:39 +02:00
|
|
|
passenv = *
|
2015-04-11 15:02:53 +02:00
|
|
|
usedevelop=True
|
2013-01-11 02:57:43 +01:00
|
|
|
deps =
|
2016-05-24 16:41:08 +03:00
|
|
|
-rrequirements/developer.pip
|
2015-04-11 15:02:53 +02:00
|
|
|
nose
|
|
|
|
|
nose-cov
|
|
|
|
|
coveralls
|
|
|
|
|
|
|
|
|
|
commands =
|
|
|
|
|
{envpython} --version
|
|
|
|
|
nosetests -sv --with-coverage --cover-package=pelican pelican
|
2015-10-13 10:31:59 +02:00
|
|
|
- coveralls
|
2015-04-11 15:02:53 +02:00
|
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
|
basepython = python2.7
|
|
|
|
|
deps =
|
|
|
|
|
sphinx
|
|
|
|
|
sphinx_rtd_theme
|
|
|
|
|
changedir = docs
|
|
|
|
|
commands =
|
2015-06-19 19:20:48 +02:00
|
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
|
2015-06-08 12:50:35 +02:00
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
|
application-import-names = pelican
|
|
|
|
|
import-order-style = cryptography
|
|
|
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
|
basepython = python2.7
|
|
|
|
|
deps =
|
|
|
|
|
flake8 <= 2.4.1
|
|
|
|
|
git+https://github.com/public/flake8-import-order@2ac7052a4e02b4a8a0125a106d87465a3b9fd688
|
|
|
|
|
commands =
|
2015-06-16 09:25:09 +02:00
|
|
|
flake8 --version
|
2015-06-08 12:50:35 +02:00
|
|
|
flake8 pelican
|