2011-07-02 15:54:24 -05:00
|
|
|
[tox]
|
2019-02-06 10:23:27 -04:00
|
|
|
envlist = py{27,35,36,37},docs,flake8
|
2011-07-02 15:54:24 -05:00
|
|
|
|
|
|
|
|
[testenv]
|
2015-04-11 15:02:53 +02:00
|
|
|
basepython =
|
|
|
|
|
py27: python2.7
|
2015-10-19 16:30:52 +02:00
|
|
|
py35: python3.5
|
2017-01-23 23:45:08 +01:00
|
|
|
py36: python3.6
|
2018-11-02 15:33:57 -06:00
|
|
|
py37: python3.7
|
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 =
|
2017-01-23 23:45:08 +01:00
|
|
|
-rrequirements/test.pip
|
2015-04-11 15:02:53 +02:00
|
|
|
nose
|
|
|
|
|
nose-cov
|
|
|
|
|
coveralls
|
2016-05-26 17:32:21 +03:00
|
|
|
pygments==2.1.3
|
2015-04-11 15:02:53 +02:00
|
|
|
|
|
|
|
|
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 =
|
2017-01-23 23:45:08 +01:00
|
|
|
-rrequirements/docs.pip
|
2015-04-11 15:02:53 +02:00
|
|
|
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 =
|
2017-01-23 23:45:08 +01:00
|
|
|
-rrequirements/style.pip
|
2015-06-08 12:50:35 +02:00
|
|
|
commands =
|
2015-06-16 09:25:09 +02:00
|
|
|
flake8 --version
|
2015-06-08 12:50:35 +02:00
|
|
|
flake8 pelican
|