forked from github/pelican
This PR removes the Python 3.4 tox task and updates references in the code to Python 3.5+. tox complains about Python 3.4, which is EOL after next month: > py34 installed: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
42 lines
762 B
INI
42 lines
762 B
INI
[tox]
|
|
envlist = py{27,35,36,37},docs,flake8
|
|
|
|
[testenv]
|
|
basepython =
|
|
py27: python2.7
|
|
py35: python3.5
|
|
py36: python3.6
|
|
py37: python3.7
|
|
passenv = *
|
|
usedevelop=True
|
|
deps =
|
|
-rrequirements/test.pip
|
|
nose
|
|
nose-cov
|
|
coveralls
|
|
pygments==2.1.3
|
|
|
|
commands =
|
|
{envpython} --version
|
|
nosetests -sv --with-coverage --cover-package=pelican pelican
|
|
- coveralls
|
|
|
|
[testenv:docs]
|
|
basepython = python2.7
|
|
deps =
|
|
-rrequirements/docs.pip
|
|
changedir = docs
|
|
commands =
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
|
|
|
|
[flake8]
|
|
application-import-names = pelican
|
|
import-order-style = cryptography
|
|
|
|
[testenv:flake8]
|
|
basepython = python2.7
|
|
deps =
|
|
-rrequirements/style.pip
|
|
commands =
|
|
flake8 --version
|
|
flake8 pelican
|