2013-09-29 00:39:50 +02:00
|
|
|
[tox]
|
2020-10-04 19:25:50 -03:00
|
|
|
envlist = py{36,37,38}{,-pillow6,-pillow7},pypy3
|
2015-12-15 11:23:56 +01:00
|
|
|
skip_missing_interpreters = True
|
2013-09-29 00:39:50 +02:00
|
|
|
|
2020-10-04 19:25:50 -03:00
|
|
|
[gh-actions]
|
2018-09-16 22:58:02 +02:00
|
|
|
python =
|
2020-10-04 19:25:50 -03:00
|
|
|
3.6: py36-pillow6
|
|
|
|
|
3.7: py37-pillow7
|
|
|
|
|
3.8: py38, check
|
|
|
|
|
pypy3: pypy3
|
2018-09-16 22:58:02 +02:00
|
|
|
|
2013-09-29 00:39:50 +02:00
|
|
|
[testenv]
|
2020-10-04 19:25:50 -03:00
|
|
|
deps =
|
|
|
|
|
pillow6: Pillow==6.0.0
|
|
|
|
|
pillow7: Pillow==7.0.0
|
2020-03-15 22:09:02 -03:00
|
|
|
extras =
|
|
|
|
|
all
|
|
|
|
|
tests
|
2020-10-04 19:32:21 -03:00
|
|
|
commands = pytest --cov sigal --cov-report term tests/
|
2014-04-08 00:13:51 +02:00
|
|
|
|
2015-04-22 23:25:48 +02:00
|
|
|
[testenv:check]
|
2014-04-08 00:13:51 +02:00
|
|
|
deps =
|
2015-04-22 23:25:48 +02:00
|
|
|
docutils
|
|
|
|
|
check-manifest
|
|
|
|
|
flake8
|
|
|
|
|
collective.checkdocs
|
|
|
|
|
pygments
|
|
|
|
|
usedevelop = true
|
|
|
|
|
commands =
|
|
|
|
|
python setup.py checkdocs
|
|
|
|
|
python setup.py check --strict --metadata
|
|
|
|
|
check-manifest {toxinidir}
|
2018-09-17 00:23:54 +02:00
|
|
|
|
|
|
|
|
[testenv:doc]
|
|
|
|
|
whitelist_externals = make
|
2020-03-15 22:09:02 -03:00
|
|
|
extras = docs
|
2018-09-17 00:23:54 +02:00
|
|
|
usedevelop = true
|
|
|
|
|
commands =
|
|
|
|
|
make -C docs html
|
2019-01-26 23:05:51 +01:00
|
|
|
|
|
|
|
|
[testenv:demo]
|
|
|
|
|
usedevelop = true
|
|
|
|
|
deps =
|
|
|
|
|
feedgenerator
|
2020-03-31 00:49:40 +08:00
|
|
|
cryptography
|
2019-01-26 23:05:51 +01:00
|
|
|
commands =
|
|
|
|
|
sigal build -c tests/sample/sigal.conf.py
|
|
|
|
|
sigal serve tests/sample/_build
|