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

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

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

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