forked from glyph/automat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (41 loc) · 1.04 KB
/
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
[tox]
envlist = coverage-clean,{pypy3,py35,py36,py38}-{extras,noextras},coverage-report
[testenv]
deps =
extras: graphviz>=0.4.9
extras: Twisted>=16.2.0
coverage
pytest
commands =
coverage run --parallel --source automat -m py.test automat/_test
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report -m
[testenv:benchmark]
deps = pytest-benchmark
commands = pytest --benchmark-only benchmark/
[testenv:py35-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}
[testenv:py36-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}
[testenv:pypy3-benchmark]
deps = {[testenv:benchmark]deps}
commands = {[testenv:benchmark]commands}
[testenv:docs]
usedevelop = True
changedir = docs
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
basepython = python3.8