diff --git a/tox.ini b/tox.ini index eca378cf..0c6afc77 100644 --- a/tox.ini +++ b/tox.ini @@ -1,21 +1,19 @@ [tox] -envlist=flake8,py35,py36,py37,pypy,pypy3,docs,coverage +envlist=flake8,py35,py36,py37,pypy3,docs skip_missing_interpreters=True [testenv] commands= - coverage run --branch --include="socketio/*" setup.py test - coverage report --show-missing - coverage erase + pytest -p no:logging --cov=socketio --cov-branch --cov-report=term-missing deps= - coverage + pytest + pytest-cov mock basepython = flake8: python3.7 py35: python3.5 py36: python3.6 py37: python3.7 - pypy: pypy pypy3: pypy3 docs: python3.7 coverage: python3.7 @@ -35,9 +33,3 @@ whitelist_externals= make commands= make html - -[testenv:coverage] -commands= - coverage run --branch --source=socketio setup.py test - coverage html - coverage erase