author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 23 Nov 2015 14:28:19 +0100 | |
changeset 10910 | 5ba4de264be4 |
parent 10900 | d666c9386b58 |
child 10975 | 6615ecb60244 |
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 |
|
10900
d666c9386b58
[test/tox] Enforce installation of modified yapps
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10838
diff
changeset
|
11 |
commands = |
d666c9386b58
[test/tox] Enforce installation of modified yapps
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10838
diff
changeset
|
12 |
{envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps |
d666c9386b58
[test/tox] Enforce installation of modified yapps
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10838
diff
changeset
|
13 |
pytest -t test {posargs} |
10512 | 14 |
|
15 |
[testenv:dataimport] |
|
16 |
||
17 |
[testenv:devtools] |
|
18 |
deps = |
|
19 |
-r{toxinidir}/devtools/test/requirements.txt |
|
20 |
||
21 |
[testenv:entities] |
|
22 |
deps = |
|
23 |
-r{toxinidir}/entities/test/requirements.txt |
|
24 |
||
25 |
[testenv:etwist] |
|
26 |
deps = |
|
27 |
-r{toxinidir}/etwist/test/requirements.txt |
|
28 |
||
29 |
[testenv:ext] |
|
30 |
deps = |
|
31 |
-r{toxinidir}/ext/test/requirements.txt |
|
32 |
||
33 |
[testenv:hooks] |
|
10838
b6cfbcdccc7f
[tox] Reference requirements.txt for hooks environment
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10545
diff
changeset
|
34 |
deps = |
b6cfbcdccc7f
[tox] Reference requirements.txt for hooks environment
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10545
diff
changeset
|
35 |
-r{toxinidir}/hooks/test/requirements.txt |
10512 | 36 |
|
37 |
[testenv:server] |
|
38 |
deps = |
|
39 |
-r{toxinidir}/server/test/requirements.txt |
|
40 |
||
41 |
[testenv:sobjects] |
|
42 |
deps = |
|
43 |
-r{toxinidir}/sobjects/test/requirements.txt |
|
44 |
||
45 |
[testenv:web] |
|
46 |
deps = |
|
47 |
-r{toxinidir}/web/test/requirements.txt |
|
48 |
||
49 |
[testenv:wsgi] |
|
10545
8fa6506aa038
[tox] Add missing dependency on webtest for wsgi tests
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10544
diff
changeset
|
50 |
deps = |
8fa6506aa038
[tox] Add missing dependency on webtest for wsgi tests
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10544
diff
changeset
|
51 |
-r{toxinidir}/wsgi/test/requirements.txt |
10512 | 52 |
|
53 |
[testenv:doc] |
|
10518
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
54 |
changedir = doc |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
55 |
whitelist_externals = |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
56 |
sphinx-build |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
57 |
deps = |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
58 |
sphinx |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
59 |
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |