summaryrefslogtreecommitdiff
path: root/tox.ini
blob: a0199e53c9289539c6bbe4d260315ae6915c5789 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[tox]
envlist = 
    py25,py26,py27,py32,py33

[testenv]
commands = 
    {envpython} setup.py clean --all
    {envpython} setup.py build
    {envpython} run_tests.py --with-xunit
deps =
    nose
    isodate
    html5lib
    pyparsing<=1.5.7
    pydot
    bsddb3
    SPARQLWrapper

[testenv:py25]
basepython =
    python2.5
commands = 
    {envpython} setup.py clean --all
    {envpython} setup.py build
    {envpython} run_tests.py --with-xunit
deps =
    nose
    ordereddict
    isodate
    simplejson
    html5lib
    pyparsing<=1.5.7
    pydot
    bsddb3
    elementtree
    SPARQLWrapper

[testenv:py26]
basepython =
    python2.6
commands = 
    {envpython} setup.py clean --all
    {envpython} setup.py build
    {envpython} run_tests.py -v --with-xunit
deps =
    nose
    ordereddict
    isodate
    html5lib
    pyparsing<=1.5.7
    pydot
    bsddb3
    SPARQLWrapper

[testenv:py32]
basepython =
    python3.2
commands = 
    python setup.py clean --all
    python setup.py build
    nosetests --where=./build/src \
        --with-doctest \
        --doctest-extension=.doctest \
        --doctest-tests
deps =
    nose
    isodate
    pyparsing
    bsddb3
    hg+https://bitbucket.org/prologic/pydot#egg=pydot
    git+https://github.com/gjhiggins/html5libpy3#egg=html5lib
    SPARQLWrapper

[testenv:py33]
basepython =
    python3.3
commands =
    python setup.py clean --all
    python setup.py build
    nosetests --where=./build/src \
        --with-doctest \
        --doctest-extension=.doctest \
        --doctest-tests
deps =
    nose
    isodate
    pyparsing
    bsddb3
    hg+https://bitbucket.org/prologic/pydot#egg=pydot
    git+https://github.com/gjhiggins/html5libpy3#egg=html5lib
    SPARQLWrapper

[testenv:pypy]
basepython =
    pypy
commands = 
    {envpython} setup.py clean --all
    {envpython} setup.py build
    {envpython} run_tests.py --with-xunit
deps =
    nose
    hg+https://bitbucket.org/gjhiggins/isodate
    html5lib
    pyparsing<=1.5.7
    pydot
    elementtree
    SPARQLWrapper

[testenv:cover]
basepython =
    python2.7
commands = 
    {envpython} run_tests.py --where=./ \
                 --with-coverage --cover-html --cover-html-dir=./coverage \
                 --cover-package=rdflib --cover-inclusive
deps =
    coverage
    nose
    isodate
    html5lib
    pyparsing<=1.5.7
    pydot
    bsddb3
    SPARQLWrapper

# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
# coverage <3.4 is required by nosexcover 1.0.4.