| 1 | [tox] |
| 2 | envlist = {pypy35,py35,py36,py37}-pytest{3,4}latest-tornado{50,latest} |
| 3 | |
| 4 | [testenv] |
| 5 | deps = |
| 6 | pytest3latest: pytest>=3.0,<4.0 |
| 7 | pytest4latest: pytest>=4.0,<5.0 |
| 8 | tornado50: tornado==5.0 |
| 9 | tornado5latest: tornado>5.0.0,<6.0 |
| 10 | pytest-pep8 |
| 11 | pytest-cov |
| 12 | setenv = |
| 13 | COV_CORE_SOURCE={toxinidir}/src |
| 14 | COV_CORE_CONFIG={toxinidir}/.coveragerc |
| 15 | COV_CORE_DATAFILE={toxinidir}/.coverage.eager |
| 16 | commands = pytest --disable-pytest-warnings --cov=src --cov-append --cov-report=term-missing -s {posargs} test |