summaryrefslogtreecommitdiff
path: root/tox.ini
blob: d3b4d847fcf455c2dd3374b4e58579632ba4658c (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
[tox]
envlist = py26, py27, py33, py34, py35, pypy, cover, cover3

[testenv]
deps =
    # Paste works on Python 3 since Paste 2.0
    Paste
    pytest
    pytest-cov
commands =
    py.test {posargs:tests/}

[testenv:cover]
basepython = python2.7
usedevelop = True
deps =
    {[testenv]deps}
    pytest-cov
commands =
    py.test {posargs:--cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing tests/}

[testenv:cover3]
basepython = python3.5
usedevelop = True
deps =
    {[testenv]deps}
    pytest-cov
commands =
    py.test {posargs:--cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing tests/}