Skip to content

Commit f1e7055

Browse files
author
Graham Higgins
committed
Update range of tox tests.
1 parent f2261a5 commit f1e7055

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

tox.ini

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,47 @@
11
[tox]
22
envlist =
3-
py26,py27#,cover,pypy,jython,
3+
py25,py26,py27,py32,pypy,jython,cover
44

55
[testenv]
66
commands =
7+
python setup.py clean --all
8+
python setup.py build
79
nosetests -q --where=./ --with-xunit \
8-
--with-doctest --doctest-extension=.doctest --doctest-tests \
9-
--with-coverage --cover-html --cover-html-dir=./coverage \
10-
--cover-package=rdflib --cover-inclusive
10+
--with-doctest --doctest-extension=.doctest --doctest-tests
1111
deps =
1212
nose
13-
coverage
14-
# Need to move coverage execution here because of Hudson limitation (I'm guessing)
13+
14+
[testenv:py25]
15+
basepython =
16+
python2.5
17+
commands =
18+
python setup.py clean --all
19+
python setup.py build
20+
python setup.py nosetests -q --where=./ --with-xunit
21+
22+
[testenv:py32]
23+
basepython =
24+
python3.2
25+
commands =
26+
python setup.py clean --all
27+
python setup.py build
28+
python setup.py nosetests -q --where=./build/src
1529

1630
[testenv:jython]
31+
basepython =
32+
/usr/share/jython2.5.1/jython
1733
commands =
18-
jython run_tests.py
34+
jython setup.py clean --all
35+
jython setup.py build
36+
nosetests -q --with-xunit
37+
38+
[testenv:pypy]
39+
basepython =
40+
pypy
41+
commands =
42+
pypy setup.py clean --all
43+
pypy setup.py build
44+
pypy setup.py nosetests --where=./ --with-xunit
1945

2046
[testenv:cover]
2147
basepython =
@@ -33,4 +59,3 @@ deps =
3359
# cobertura jenkins reporting and b) pypy and jython can't handle any
3460
# combination of versions of coverage and nosexcover that i can find.
3561
# coverage <3.4 is required by nosexcover 1.0.4.
36-

0 commit comments

Comments
 (0)