forked from miguelgrinberg/python-socketio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (38 loc) · 760 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
[tox]
envlist=flake8,py27,py34,py35,py36,pypy,docs,coverage
skip_missing_interpreters=True
[testenv]
commands=
coverage run --branch --include="socketio/*" setup.py test
coverage report --show-missing
coverage erase
deps=
coverage
mock
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
pypy: pypy
[testenv:flake8]
basepython=python3.6
deps=
flake8
commands=
flake8 --exclude=".*" --ignore=E402,E722 socketio tests
[testenv:docs]
basepython=python2.7
changedir=docs
deps=
sphinx
whitelist_externals=
make
commands=
make html
[testenv:coverage]
basepython=python3.6
commands=
coverage run --branch --source=socketio setup.py test
coverage html
coverage erase