-
Notifications
You must be signed in to change notification settings - Fork 28
/
tox.ini
123 lines (110 loc) · 2.52 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
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
[tox]
envlist =
flake,py26,py27,py32,py33,py34,pypy,cover
[testenv:flake]
deps = flake8
basepython = python2.7
commands = flake8 --exclude=tools,examples --max-line-length=350 --ignore=W291,W292,W391,F821,N805 lib
[testenv:py26]
basepython =
python2.6
commands =
python2.6 setup.py clean --all
python2.6 setup.py build
python2.6 setup.py nosetests
deps =
nose
isodate
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:py27]
basepython =
python2.7
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} setup.py nosetests
deps =
nose
isodate
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:py32]
basepython =
python3.2
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} setup.py nosetests --where=./build/src
deps =
nose
isodate
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:py33]
basepython =
python3.3
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} setup.py nosetests --where=./build/src
deps =
nose
isodate
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:py34]
basepython =
python3.4
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} setup.py nosetests --where=./build/src
deps =
nose
isodate
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:pypy]
basepython =
pypy
commands =
pypy setup.py clean --all
pypy setup.py build
pypy setup.py nosetests --where=./ --with-xunit
deps =
nose
isodate
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
[testenv:cover]
basepython =
python2.7
commands =
nosetests -q --where=./ \
--with-coverage --cover-html --cover-html-dir=./coverage \
--cover-package=FuXi --cover-inclusive
deps =
coverage
nose
lxml
git+https://github.com/RDFLib/rdflib#egg=rdflib
###########################
# Run docs builder
###########################
[testenv:docs]
deps =
sphinx
sphinx_rtd_theme
basepython = python2.7
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
###########################
# Run docs linkcheck
###########################
[testenv:docs-linkcheck]
deps = {[testenv:docs]deps}
basepython = python2.7
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -b linkcheck docs docs/_build/html