summaryrefslogtreecommitdiff
path: root/tox.ini
blob: c27041a8c7f76169554fa573798708fd9e35b832 (plain)
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{09,10}, py{27}-sqla{079,084}, 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=
  sqla{084,09,10}: python -m pytest -n 4 {posargs}
  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]
# see also .coveragerc
deps=coverage
commands=
  python -m pytest --cov=alembic --cov-report term --cov-report xml {posargs}

[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