Simplify tox.ini asyncio entries.

This commit is contained in:
Andrey Rakhmatullin 2019-12-13 19:34:47 +05:00
parent bfb78b8dea
commit afc886e578
1 changed files with 6 additions and 4 deletions

10
tox.ini
View File

@ -107,14 +107,16 @@ deps =
reppy
robotexclusionrulesparser
[asyncio]
commands =
py.test --cov=scrapy --cov-report= --reactor=asyncio {posargs:scrapy tests}
[testenv:py35-asyncio]
basepython = python3.5
deps = {[testenv]deps}
commands =
py.test --cov=scrapy --cov-report= --reactor=asyncio {posargs:scrapy tests}
commands = {[asyncio]commands}
[testenv:py38-asyncio]
basepython = python3.8
deps = {[testenv]deps}
commands =
py.test --cov=scrapy --cov-report= --reactor=asyncio {posargs:scrapy tests}
commands = {[asyncio]commands}