summaryrefslogtreecommitdiff
path: root/tox.ini
blob: f3bf38d02fab2b2b22dbd61fd8e2124f86ffe040 (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
[tox]
envlist=py25,py27,py26,py32,py33,pypy

[testenv:X]
commands=echo {posargs}

[testenv]
commands=py.test  --junitxml={envlogdir}/junit-{envname}.xml {posargs}
deps=pytest>=2.3.5

[testenv:py25]   # requires virtualenv-1.9.1
setenvs =
    PIP_INSECURE=True

[testenv:docs]
basepython=python
changedir=doc
deps=sphinx
     {[testenv]deps}
commands=
    py.test -v \
        --junitxml={envlogdir}/junit-{envname}.xml \
        check_sphinx.py {posargs}

[pytest]
rsyncdirs=tests tox