Files
sigal/tox.ini
Simon Conseil 7fe7bedd24 Add 3.9 to tox
2020-10-09 10:16:50 -03:00

50 lines
919 B
INI

[tox]
envlist = py{36,37,38,39}-pillow{70,71,-latest},pypy3,check
skip_missing_interpreters = True
[gh-actions]
python =
3.6: py36-pillow70
3.7: py37-pillow71
3.8: py38-pillow-latest, check
3.9: py39-pillow-latest
pypy3: pypy3
[testenv]
deps =
pillow6: Pillow==6.0.0
pillow7: Pillow==7.0.0
extras =
all
tests
commands = pytest --cov sigal --cov-report term tests/
[testenv:check]
deps =
docutils
check-manifest
flake8
collective.checkdocs
pygments
usedevelop = true
commands =
python setup.py checkdocs
python setup.py check --strict --metadata
check-manifest {toxinidir}
[testenv:doc]
whitelist_externals = make
extras = docs
usedevelop = true
commands =
make -C docs html
[testenv:demo]
usedevelop = true
deps =
feedgenerator
cryptography
commands =
sigal build -c tests/sample/sigal.conf.py
sigal serve tests/sample/_build