summaryrefslogtreecommitdiff
path: root/tox.ini
blob: a858f1940e3219a4faf9093ad5b1eb16ed85db9a (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[tox]
envlist =
    py25,py26,py27,py32,py33,py34

[testenv]
setenv =  
    BERKELEYDB_DIR = /usr
commands =
    {envpython} setup.py clean --all
    {envpython} setup.py build
    {envpython} run_tests.py --with-xunit
deps =
    nose
    isodate
    html5lib
    pyparsing
    bsddb3
    SPARQLWrapper>=1.6.2

[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==0.95
    pyparsing<=1.5.7
    bsddb3
    elementtree
    SPARQLWrapper>=1.6.2

[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
    bsddb3
    SPARQLWrapper>=1.6.2

[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
    html5lib
    SPARQLWrapper>=1.6.2

[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
    html5lib
    SPARQLWrapper>=1.6.2

[testenv:py34]
basepython =
    python3.4
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
    html5lib
    SPARQLWrapper>=1.6.2


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

[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
    bsddb3
    SPARQLWrapper>=1.6.2

# 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.