forked from raiden-network/raiden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (30 loc) · 994 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
[tox]
envlist = coverage
[pytest]
timeout = 540
[testenv]
deps =
-rrequirements-dev.txt
commands =
coverage erase
pytest --cov-append --exitfirst {posargs:./raiden/tests/unit ./raiden/tests/smart_contracts ./raiden/tests/api ./raiden/tests/integration}
[testenv:flake8]
deps =
flake8
commands=
flake8 --exit-zero raiden/ tools/
[testenv:devenv]
envdir = devenv
basepython = python2.7
usedevelop = True
deps =
-rrequirements-dev.txt
commands = pytest --cov-append --exitfirst {posargs:./raiden/}
[testenv:smart_contracts]
commands = pytest --cov-append --initial-port=2000 --exitfirst ./raiden/tests/smart_contracts {posargs}
[testenv:integration]
commands = pytest --cov-append --initial-port=3000 --exitfirst ./raiden/tests/integration {posargs}
[testenv:unit]
commands = pytest --cov-append --initial-port=4000 --exitfirst ./raiden/tests/unit {posargs}
[testenv:api]
commands = pytest --cov-append --initial-port=5000 --exitfirst ./raiden/tests/api {posargs}