summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 4adc60cc6d4ceabacefa47963df8adcaf38a288d (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
[tox]
envlist=py27,py26,py25,py24,py31,py32,docs
indexserver =
    testrun = http://pypi.testrun.org
    pypi = http://pypi.python.org/simple

[testenv:X]
commands=echo {posargs}

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

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

[pytest]
rsyncdirs=tests tox