summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 3b1d2eae551d63d53412f3f9b7eabbb98cbdd017 (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
[tox]
envlist = full,py26,py27,py33,py34

[testenv]
deps=pytest
     mock

sitepackages=True
usedevelop=True

commands=
  python -m pytest {posargs}

[testenv:full]


[testenv:coverage]
setenv=
  DISABLE_SQLALCHEMY_CEXT=1

# see also .coveragerc
deps=pytest-cov
     coverage
     mock
commands=
  python -m pytest --cov=sqlalchemy --cov-report term --cov-report xml \
    --exclude-tag memory-intensive \
    --exclude-tag timing-intensive \
    -k "not aaa_profiling" \
    {posargs}


[testenv:pep8]
deps=flake8
commands = python -m flake8 {posargs}


[flake8]
show-source = True
ignore = E711,E712,E721
exclude=.venv,.git,.tox,dist,doc,*egg,build