pythonasyncioeventletgeventlong-pollinglow-latencysocket-iosocketiosocketio-serverweb-serverwebsocket
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
902 B
61 lines
902 B
[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=".*" 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
|
|
|