forked from raiden-network/raiden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (26 loc) · 832 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
[tox]
envlist = coverage
[testenv]
deps =
-rrequirements-dev.txt
commands =
coverage erase
pytest --cov-append --exitfirst {posargs:./raiden/tests/unit ./raiden/tests/integration/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: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/integration/api {posargs}