summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 953deea0e77f2eb0697f040f98e81549c7523dff (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
#envlist=py27
indexserver =
    testrun = http://pypi.testrun.org
    pypi = http://pypi.python.org/simple

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

[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 []