1
0
Fork 0
forked from github/pelican
pelican-theme/tox.ini

42 lines
741 B
INI
Raw Normal View History

2011-07-02 15:54:24 -05:00
[tox]
envlist = py{35,36,37},docs,flake8
2011-07-02 15:54:24 -05:00
[testenv]
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
2015-05-13 21:08:39 +02:00
passenv = *
usedevelop=True
deps =
-rrequirements/test.pip
commands =
{envpython} --version
pytest -sv --cov=pelican pelican
[testenv:docs]
basepython = python3.6
deps =
-rrequirements/docs.pip
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
[pytest]
filterwarnings =
default::DeprecationWarning
error:.*:Warning:pelican
addopts = -n 2
2015-06-08 12:50:35 +02:00
[flake8]
application-import-names = pelican
import-order-style = cryptography
[testenv:flake8]
basepython = python3.6
2015-06-08 12:50:35 +02:00
deps =
-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