-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
100 lines (92 loc) · 1.54 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[tox]
envlist =
py
base
config
flask
coverage
docs
lint
[testenv]
passenv =
LANG
PIP_INDEX_URL
PIP_EXTRA_INDEX_URL
usedevelop = True
deps =
coverage
eth-tester[py-evm]==0.1.0-beta.26
pytest>=3
pytest-flask
.[all]
commands =
coverage run -p -m pytest --doctest-modules --doctest-glob='*.rst'
[testenv:base]
passenv =
LANG
PIP_INDEX_URL
PIP_EXTRA_INDEX_URL
usedevelop = True
deps =
coverage
pytest>=3
commands =
coverage run -p -m pytest tests/test_import.py tests/test_logging.py
[testenv:config]
passenv =
LANG
PIP_INDEX_URL
PIP_EXTRA_INDEX_URL
usedevelop = True
deps =
coverage
pytest>=3
.[config]
commands =
coverage run -p -m pytest tests/config
[testenv:flask]
passenv =
LANG
PIP_INDEX_URL
PIP_EXTRA_INDEX_URL
usedevelop = True
deps =
coverage
eth-tester[py-evm]==0.1.0-beta.26
pytest>=3
pytest-flask
.[flask]
commands =
coverage run -p -m pytest tests/flask
[testenv:coverage]
basepython = python3.6
deps =
coverage
skip_install = true
commands =
coverage combine
coverage html
coverage report
[testenv:docs]
basepython = python3.6
deps =
sphinx
sphinx_rtd_theme
.[all]
commands = sphinx-build -W -b html docs docs/_build
[testenv:lint]
basepython = python3.6
deps =
flake8
skip_install = true
commands =
flake8
[testenv:codecov]
passenv = CODECOV_TOKEN CI TRAVIS_CI TRAVIS_*
deps =
codecov
skip_install = true
commands =
coverage combine
coverage report
codecov