-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (36 loc) · 763 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
[tox]
minversion = 1.9
envlist = lint,py35
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
basepython = python3.5
[testenv:lint]
commands =
flake8 {posargs}
[testenv:py35]
commands =
python -m unittest discover -v
[testenv:run]
deps =
-r{toxinidir}/requirements.txt
commands =
messaging_server {posargs}
[testenv:stresser]
passenv =
CLIENT_COUNT
PING_INTERVAL
deps =
{[testenv:run]deps}
commands =
python tools/stresser.py
[testenv:coverage]
commands =
coverage erase
coverage run --source=messaging_server --branch -m unittest discover
coverage report --show-missing --skip-covered
coverage html
[flake8]
show-source = True
exclude = .git,.tox,,*egg,build,dist