-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathtox.ini
55 lines (41 loc) · 782 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
[tox]
envlist = check, {py33,py34}-{debug,release}-{cython,pure}, reportcov
[testenv]
deps =
nose
coverage
gunicorn
chardet
cython: cython
commands =
coverage run -m nose {posargs}
mv .coverage .coverage.{envname}
setenv =
debug: PYTHONASYNCIODEBUG = 1
pure: AIOHTTP_NO_EXTENSIONS = 1
basepython:
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