author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 18 Dec 2015 09:37:15 +0100 | |
changeset 11032 | 38afb7e23c6c |
parent 10976 | b150016e476c |
child 11057 | 0b59724cb3f2 |
child 11392 | 12bebe48b451 |
permissions | -rw-r--r-- |
10512 | 1 |
[tox] |
10975
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
2 |
envlist = cubicweb,dataimport,devtools,entities,etwist,ext,hooks,server,sobjects,web,wsgi |
10512 | 3 |
|
4 |
[testenv] |
|
5 |
sitepackages = True |
|
10975
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
6 |
deps = |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
7 |
cubicweb: -r{toxinidir}/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
8 |
devtools: -r{toxinidir}/devtools/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
9 |
entities: -r{toxinidir}/entities/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
10 |
etwist: -r{toxinidir}/etwist/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
11 |
ext: -r{toxinidir}/ext/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
12 |
hooks: -r{toxinidir}/hooks/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
13 |
server: -r{toxinidir}/server/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
14 |
sobjects: -r{toxinidir}/sobjects/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
15 |
web: -r{toxinidir}/web/test/requirements.txt |
6615ecb60244
[tox] Use generating environments
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10900
diff
changeset
|
16 |
wsgi: -r{toxinidir}/wsgi/test/requirements.txt |
10976
b150016e476c
[tox] Ensure pytest gets run with virtualenv's python
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10975
diff
changeset
|
17 |
commands = |
b150016e476c
[tox] Ensure pytest gets run with virtualenv's python
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10975
diff
changeset
|
18 |
{envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/{envname}/test {posargs} |
10512 | 19 |
|
20 |
[testenv:cubicweb] |
|
10900
d666c9386b58
[test/tox] Enforce installation of modified yapps
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10838
diff
changeset
|
21 |
commands = |
d666c9386b58
[test/tox] Enforce installation of modified yapps
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10838
diff
changeset
|
22 |
{envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps |
10976
b150016e476c
[tox] Ensure pytest gets run with virtualenv's python
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10975
diff
changeset
|
23 |
{envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/test {posargs} |
10512 | 24 |
|
25 |
[testenv:doc] |
|
10518
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
26 |
changedir = doc |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
27 |
whitelist_externals = |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
28 |
sphinx-build |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
29 |
deps = |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
30 |
sphinx |
d276e4b332ba
[tox] Update doc testenv to account for documentation restructuring
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
10512
diff
changeset
|
31 |
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |