forked from saimn/sigal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
44 lines (39 loc) · 741 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tox]
envlist = py{36,37,38}
skip_missing_interpreters = True
[travis]
python =
3.6: py36
3.7: py37
3.8: py38
[testenv]
extras =
all
tests
commands = pytest --cov sigal --cov-report term-missing 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