forked from miguelgrinberg/python-socketio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
61 lines (52 loc) · 916 Bytes
/
tox.ini
File metadata and controls
61 lines (52 loc) · 916 Bytes
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
[tox]
envlist=flake8,py27,py33,py34,py35,pypy,docs,coverage
skip_missing_interpreters=True
[testenv]
commands=
coverage run --branch --include="socketio/*" setup.py test
coverage report --show-missing
coverage erase
[testenv:flake8]
basepython=python
deps=
flake8
commands=
flake8 --exclude=".*" --ignore=E402 socketio tests
[testenv:py27]
basepython=python2.7
deps=
coverage
mock
[testenv:py33]
basepython=python3.3
deps=
coverage
[testenv:py34]
basepython=python3.4
deps=
coverage
[testenv:py35]
basepython=python3.5
deps=
coverage
[testenv:pypy]
basepython=pypy
deps=
coverage
[testenv:docs]
basepython=python2.7
changedir=docs
deps=
sphinx
whitelist_externals=
make
commands=
make html
[testenv:coverage]
basepython=python
deps=
coverage
commands=
coverage run --branch --source=socketio setup.py test
coverage html
coverage erase