forked from RDFLib/rdflib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (31 loc) · 1.06 KB
/
tox.ini
File metadata and controls
36 lines (31 loc) · 1.06 KB
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
[tox]
envlist =
py26,py27#,cover,pypy,jython,
[testenv]
commands =
nosetests -q --where=./ --with-xunit \
--with-doctest --doctest-extension=.doctest --doctest-tests \
--with-coverage --cover-html --cover-html-dir=./coverage \
--cover-package=rdflib --cover-inclusive
deps =
nose
coverage
# Need to move coverage execution here because of Hudson limitation (I'm guessing)
[testenv:jython]
commands =
jython run_tests.py
[testenv:cover]
basepython =
python2.7
commands =
nosetests -q --where=./ \
--with-doctest --doctest-extension=.doctest --doctest-tests \
--with-coverage --cover-html --cover-html-dir=./coverage \
--cover-package=rdflib --cover-inclusive
deps =
nose
coverage
# 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.