-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
40 lines (35 loc) · 1.07 KB
/
tox.ini
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
[tox]
envlist =
py3,pypy,flake,cover
[testenv]
commands =
pip install -r requirements.txt --quiet
{envpython} setup.py clean --all
nose2
[testenv:py3]
basepython = python3
commands =
pip install -r requirements.txt --quiet
{envpython} setup.py clean --all
{envpython} setup.py build
nosetests -q --where=./build/src
deps =
nose
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:flake]
basepython = python3
commands=
pip install -r requirements.txt --quiet
{envpython} setup.py clean --all
flake8 rdflib_zodb
[testenv:cover]
basepython = python3
commands =
pip install -r requirements.txt --quiet
{envpython} setup.py clean --all
nose2 --plugin nose2_cov --with-cov --cov-config .coveragerc \
--cov-report term --cov-report html --cov-report xml
# 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.