forked from pnuckowski/aioresponses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (44 loc) · 1.21 KB
/
tox.ini
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
[tox]
envlist =
flake8,
coverage,
py35-aiohttp-master
py35-aiohttp{20,21,22,23,30,31,32,33,34,35}
py36-aiohttp-master
py36-aiohttp{20,21,22,23,30,31,32,33,34,35}
skipsdist = True
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 aioresponses
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONPATH = {toxinidir}:{toxinidir}/aioresponses
deps =
aiohttp20: aiohttp>=2.0,<2.1
aiohttp20: yarl<1.2.0
aiohttp21: aiohttp>=2.1,<2.2
aiohttp21: yarl<1.2.0
aiohttp22: aiohttp>=2.2,<2.3
aiohttp22: yarl<1.2.0
aiohttp23: aiohttp>=2.3,<2.4
aiohttp30: aiohttp>=3.0,<3.1
aiohttp31: aiohttp>=3.1,<3.2
aiohttp32: aiohttp>=3.2,<3.3
aiohttp33: aiohttp>=3.3,<3.4
aiohttp34: aiohttp>=3.4,<3.5
aiohttp35: aiohttp>=3.5,<3.6
aiohttp-master: https://github.com/aio-libs/aiohttp/archive/master.tar.gz
-r{toxinidir}/requirements-dev.txt
basepython =
py35: python3.5
py36: python3.6
commands = python setup.py test
[testenv:coverage]
basepython = python
commands = coverage run --source=aioresponses setup.py test
[testenv:cov_html]
basepython = python
deps = aiohttp
commands = pytest --cov=aioresponses/ --cov-report=html --cov-report=xml