summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 2fd9771667bd71f2fd25f7b24b359db5aab5c326 (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
[tox]
envlist =
    py36,py37,py38,py39

[testenv]
setenv =
    BERKELEYDB_DIR = /usr
commands =
    {envpython} setup.py clean --all
    {envpython} setup.py build
    {envpython} run_tests.py
deps =
	-rrequirements.txt
	-rrequirements.dev.txt

[testenv:cover]
basepython =
    python3.7
commands =
    {envpython} run_tests.py --where=./ \
                 --with-coverage --cover-html --cover-html-dir=./coverage \
                 --cover-package=rdflib --cover-inclusive

deps =
	-rrequirements.txt
	-rrequirements.dev.txt