20 hooks: -r{toxinidir}/cubicweb/hooks/test/requirements.txt |
20 hooks: -r{toxinidir}/cubicweb/hooks/test/requirements.txt |
21 server: -r{toxinidir}/cubicweb/server/test/requirements.txt |
21 server: -r{toxinidir}/cubicweb/server/test/requirements.txt |
22 sobjects: -r{toxinidir}/cubicweb/sobjects/test/requirements.txt |
22 sobjects: -r{toxinidir}/cubicweb/sobjects/test/requirements.txt |
23 web: -r{toxinidir}/cubicweb/web/test/requirements.txt |
23 web: -r{toxinidir}/cubicweb/web/test/requirements.txt |
24 wsgi: -r{toxinidir}/cubicweb/wsgi/test/requirements.txt |
24 wsgi: -r{toxinidir}/cubicweb/wsgi/test/requirements.txt |
|
25 pytest |
25 commands = |
26 commands = |
26 py34-cubicweb: touch {envdir}/share/cubicweb/cubes/__init__.py |
27 py34-cubicweb: touch {envdir}/share/cubicweb/cubes/__init__.py |
27 py34-server: touch {envdir}/share/cubicweb/cubes/__init__.py |
28 py34-server: touch {envdir}/share/cubicweb/cubes/__init__.py |
28 py34-sobjects: touch {envdir}/share/cubicweb/cubes/__init__.py |
29 py34-sobjects: touch {envdir}/share/cubicweb/cubes/__init__.py |
29 py34-web: touch {envdir}/share/cubicweb/cubes/__init__.py |
30 py34-web: touch {envdir}/share/cubicweb/cubes/__init__.py |
30 cubicweb: {envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps |
31 cubicweb: {envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps |
31 cubicweb: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/test {posargs} |
32 cubicweb: {envpython} -m pytest {toxinidir}/cubicweb/test {posargs} |
32 dataimport: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/dataimport/test {posargs} |
33 dataimport: {envpython} -m pytest {toxinidir}/cubicweb/dataimport/test {posargs} |
33 devtools: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/devtools/test {posargs} |
34 devtools: {envpython} -m pytest {toxinidir}/cubicweb/devtools/test {posargs} |
34 entities: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/entities/test {posargs} |
35 entities: {envpython} -m pytest {toxinidir}/cubicweb/entities/test {posargs} |
35 etwist: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/etwist/test {posargs} |
36 etwist: {envpython} -m pytest {toxinidir}/cubicweb/etwist/test {posargs} |
36 ext: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/ext/test {posargs} |
37 ext: {envpython} -m pytest {toxinidir}/cubicweb/ext/test {posargs} |
37 hooks: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/hooks/test {posargs} |
38 hooks: {envpython} -m pytest {toxinidir}/cubicweb/hooks/test {posargs} |
38 server: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/server/test {posargs} |
39 server: {envpython} -m pytest {toxinidir}/cubicweb/server/test {posargs} |
39 sobjects: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/sobjects/test {posargs} |
40 sobjects: {envpython} -m pytest {toxinidir}/cubicweb/sobjects/test {posargs} |
40 web: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/web/test {posargs} |
41 web: {envpython} -m pytest {toxinidir}/cubicweb/web/test {posargs} |
41 wsgi: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/wsgi/test {posargs} |
42 wsgi: {envpython} -m pytest {toxinidir}/cubicweb/wsgi/test {posargs} |
42 |
43 |
43 [testenv:doc] |
44 [testenv:doc] |
44 changedir = doc |
45 changedir = doc |
45 whitelist_externals = |
46 whitelist_externals = |
46 sphinx-build |
47 sphinx-build |
47 deps = |
48 deps = |
48 sphinx |
49 sphinx |
49 commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |
50 commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |
|
51 |
|
52 [pytest] |
|
53 python_files = *test_*.py |