# HG changeset patch # User Denis Laxalde # Date 1457975709 -3600 # Node ID 104d41c99180b571fd0900cdd43e962d7530f8ef # Parent 4a43193ce7b06f7b72365759f26ea6bcea0b6898 [tox] Enable all applicable py34 environments All except etwist. Comes with a few tricks in tox.ini: * add ``-e.`` to force installing of cubicweb in development because dependency cubes would otherwise install cubicweb 3.22 (the latest release), which is not python3 installable. * "install" cubes/__init__.py because the file is not installed in develop mode; maybe this file should be managed by cubes themselves... diff -r 4a43193ce7b0 -r 104d41c99180 tox.ini --- a/tox.ini Fri Jan 29 17:11:17 2016 +0100 +++ b/tox.ini Mon Mar 14 18:15:09 2016 +0100 @@ -1,12 +1,15 @@ [tox] envlist = py27-{cubicweb,dataimport,devtools,entities,etwist,ext,hooks,server,sobjects,web,wsgi}, - py34-{dataimport,devtools,entities,ext,hooks,wsgi} + py34-{cubicweb,dataimport,devtools,entities,ext,hooks,server,sobjects,web,wsgi} [testenv] usedevelop = True sitepackages = True +whitelist_externals = + /usr/bin/touch deps = + py34: -e. cubicweb: -r{toxinidir}/cubicweb/test/requirements.txt devtools: -r{toxinidir}/cubicweb/devtools/test/requirements.txt entities: -r{toxinidir}/cubicweb/entities/test/requirements.txt @@ -18,6 +21,10 @@ web: -r{toxinidir}/cubicweb/web/test/requirements.txt wsgi: -r{toxinidir}/cubicweb/wsgi/test/requirements.txt commands = + py34-cubicweb: touch {envdir}/share/cubicweb/cubes/__init__.py + py34-server: touch {envdir}/share/cubicweb/cubes/__init__.py + py34-sobjects: touch {envdir}/share/cubicweb/cubes/__init__.py + py34-web: touch {envdir}/share/cubicweb/cubes/__init__.py cubicweb: {envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps cubicweb: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/test {posargs} dataimport: {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/cubicweb/dataimport/test {posargs}