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]
minversion=1.8.dev1
envlist = py{27,33}-sqla{079,084,09,10}, coverage
[testenv]
deps=pytest
mock
sqla079: git+http://git.sqlalchemy.org/sqlalchemy.git@rel_0_7_9
sqla084: git+http://git.sqlalchemy.org/sqlalchemy.git@rel_0_8_4
sqla09: git+http://git.sqlalchemy.org/sqlalchemy.git@rel_0_9
sqla10: git+http://git.sqlalchemy.org/sqlalchemy.git@master
sitepackages=True
usedevelop=True
commands=
py{27,33}-sqla{084,09,10}: python -m pytest -n 4 {posargs}
py{27,33}-sqla{079}: python -m pytest {posargs}
[testenv:py27-sqla10]
recreate=True
[testenv:py27-sqla09]
recreate=True
[testenv:py33-sqla10]
recreate=True
[testenv:py33-sqla09]
recreate=True
[testenv:coverage]
deps=coverage
commands=
python -m pytest --cov=alembic {posargs}
python -m coverage xml --include=alembic/*
[testenv:pep8]
deps=flake8
commands = python -m flake8 {posargs}
[flake8]
show-source = True
ignore = E711,E712,E721
# F841,F811,F401
exclude=.venv,.git,.tox,dist,doc,*egg,build
|