summaryrefslogtreecommitdiff
path: root/tox.ini
blob: f1675e90175c2c548825a1fa25ea85ae0e8d20e2 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
envlist=py25,py26,py27,py31,py32,py33,pypy,du11,du10,du09,du08,du07

[testenv]
deps=
    nose
    sqlalchemy
    whoosh
setenv =
    BUILD_TEST_PATH = {envdir}/tests
commands=
    {envpython} tests/run.py {posargs}
    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html

[testenv:py25]
deps=
    simplejson==2.5.0
    {[testenv]deps}
setenv=
    PIP_INSECURE = 1
    {[testenv]setenv}

[testenv:py33]
deps=
    docutils>=0.10.0
    {[testenv]deps}

[testenv:pypy]
deps=
    simplejson
    {[testenv]deps}

[testenv:du07]
deps=
    docutils==0.7
    {[testenv]deps}

[testenv:du08]
deps=
    docutils==0.8.1
    {[testenv]deps}

[testenv:du09]
deps=
    docutils==0.9.1
    {[testenv]deps}

[testenv:du10]
deps=
    docutils==0.10
    {[testenv]deps}

[testenv:du11]
deps=
    docutils==0.11
    {[testenv]deps}