forked from aio-libs/aiopg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (38 loc) · 734 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
[tox]
envlist = check, {py33,py34}-{debug,release}-{sa,nosa}, reportcov
[testenv]
deps =
pytest
pytest-coverage
sa: sqlalchemy
commands =
py.test --cov=aiopg --cov=tests {posargs}
mv .coverage .coverage.{envname}
setenv =
debug: PYTHONASYNCIODEBUG = 1
basepython:
py33: python3.3
py34: python3.4
whitelist_externals =
coverage
mv
echo
[testenv:check]
deps =
wheel
flake8
coverage
commands =
flake8 aiopg examples tests
python setup.py check -rm
coverage erase
basepython:
python3
[testenv:reportcov]
commands =
coverage combine
coverage report
coverage html
echo "open file://{toxinidir}/htmlcov/index.html"
basepython:
python3