author | Rémi Cardona <remi.cardona@logilab.fr> |
Thu, 03 Sep 2015 16:36:08 +0200 | |
changeset 10888 | fbbb028d0a75 |
parent 10838 | b6cfbcdccc7f |
child 10900 | d666c9386b58 |
permissions | -rw-r--r-- |
10512 | 1 |
[tox] |
2 |
env = py27 |
|
3 |
||
4 |
[testenv] |
|
5 |
sitepackages = True |
|
6 |
commands = pytest -t {envname}/test {posargs} |
|
7 |
||
8 |
[testenv:cubicweb] |
|
9 |
deps = |
|
10 |
-r{toxinidir}/test/requirements.txt |
|
11 |
commands = pytest -t test {posargs} |
|
12 |
||
13 |
[testenv:dataimport] |
|
14 |
||
15 |
[testenv:devtools] |
|
16 |
deps = |
|
17 |
-r{toxinidir}/devtools/test/requirements.txt |
|
18 |
||
19 |
[testenv:entities] |
|
20 |
deps = |
|
21 |
-r{toxinidir}/entities/test/requirements.txt |
|
22 |
||
23 |
[testenv:etwist] |
|
24 |
deps = |
|
25 |
-r{toxinidir}/etwist/test/requirements.txt |
|
26 |
||
27 |
[testenv:ext] |
|
28 |
deps = |
|
29 |
-r{toxinidir}/ext/test/requirements.txt |
|
30 |
||
31 |
[testenv:hooks] |
|
10838
b6cfbcdccc7f
[tox] Reference requirements.txt for hooks environment
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10545
diff
changeset
|
32 |
deps = |
b6cfbcdccc7f
[tox] Reference requirements.txt for hooks environment
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10545
diff
changeset
|
33 |
-r{toxinidir}/hooks/test/requirements.txt |
10512 | 34 |
|
35 |
[testenv:server] |
|
36 |
deps = |
|
37 |
-r{toxinidir}/server/test/requirements.txt |
|
38 |
||
39 |
[testenv:sobjects] |
|
40 |
deps = |
|
41 |
-r{toxinidir}/sobjects/test/requirements.txt |
|
42 |
||
43 |
[testenv:web] |
|
44 |
deps = |
|
45 |
-r{toxinidir}/web/test/requirements.txt |
|
46 |
||
47 |
[testenv:wsgi] |
|
10545
8fa6506aa038
[tox] Add missing dependency on webtest for wsgi tests
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10544
diff
changeset
|
48 |
deps = |
8fa6506aa038
[tox] Add missing dependency on webtest for wsgi tests
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10544
diff
changeset
|
49 |
-r{toxinidir}/wsgi/test/requirements.txt |
10512 | 50 |
|
51 |
[testenv:doc] |
|
10518
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
52 |
changedir = doc |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
53 |
whitelist_externals = |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
54 |
sphinx-build |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
55 |
deps = |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
56 |
sphinx |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
57 |
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |