forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
58 lines (44 loc) · 894 Bytes
/
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
52
53
54
55
56
57
58
[tox]
envlist = check, {old_asyncio,py33,py34}-{debug,release}-{cchardet,cython,pure}, reportcov
[testenv]
deps =
nose
coverage
gunicorn
cchardet: cython
cchardet: cchardet
cython: cython
old_asyncio: asyncio==3.4.1
commands =
coverage run -m nose {posargs}
mv .coverage .coverage.{envname}
setenv =
debug: PYTHONASYNCIODEBUG = 1
pure: AIOHTTP_NO_EXTENSIONS = 1
basepython:
old_asyncio: python3.3
py33: python3.3
py34: python3.4
whitelist_externals =
coverage
mv
echo
[testenv:check]
deps =
wheel
flake8
coverage
commands =
flake8 aiohttp examples tests
python setup.py check -rm
coverage erase
basepython:
python3
[testenv:reportcov]
commands =
coverage combine
coverage report
coverage html
echo "open file://{toxinidir}/coverage/index.html"
basepython:
python3