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

[testenv:X]
commands=echo {posargs}

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

[testenv:x]
setenv=
    HELLO=echo hello world
commands={env:HELLO}

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

[testenv:py25]
setenv= PIP_INSECURE=1

[pytest]
rsyncdirs=tests tox
addopts = -rsxXf