-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtox.ini
53 lines (50 loc) · 954 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
45
46
47
48
49
50
51
52
53
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/buildout-recipe
[tox]
minversion = 3.18
envlist =
lint
py27
py35
py36
py37
py38
py39
py310
coverage
[testenv]
usedevelop = true
deps =
commands =
zope-testrunner --test-path=src {posargs:-vc}
extras =
test
genshi
[testenv:lint]
basepython = python3
skip_install = true
deps =
flake8
check-manifest
check-python-versions >= 0.19.1
wheel
commands =
flake8 src setup.py
check-manifest
check-python-versions
[testenv:coverage]
basepython = python3
allowlist_externals =
mkdir
setenv =
COVERAGE_PROCESS_START={toxinidir}/.coveragerc
deps =
coverage
coverage-python-version
commands =
mkdir -p {toxinidir}/parts/htmlcov
coverage erase
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
coverage combine
coverage html
coverage report -m --fail-under=77