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,py34,py35,py36,py37,pypy,pypy3,docs,coverage
skip_missing_interpreters=True
[testenv]
commands=
coverage run --branch --include="engineio/*" setup.py test
coverage report --show-missing
coverage erase
deps=
coverage
mock
eventlet
aiohttp
tornado
basepython =
flake8: python3.6
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
pypy: pypy
pypy3: pypy3
coverage: python3.6
docs: python3.6
[testenv:py27]
deps=
coverage
mock
eventlet
[testenv:pypy]
deps=
coverage
mock
eventlet
[testenv:pypy3]
[testenv:flake8]
deps=
flake8
commands=
flake8 --exclude=".*" --ignore=E402,E722 engineio tests
[testenv:docs]
changedir=docs
deps=
sphinx
whitelist_externals=
make
commands=
make html
[testenv:coverage]
commands=
coverage run --branch --source=engineio setup.py test
coverage html
coverage erase
|