From b939815513fbd67a522291b6fd398035ccf1b24d Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (aka lmi)" Date: Mon, 4 Aug 2014 13:09:34 +0200 Subject: [PATCH 1/3] [FIX] travis --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 30beb4e178b..9e66d5a4379 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,17 +5,20 @@ python: virtualenv: system_site_packages: true +env: + - VERSION="8.0" ODOO_REPO="odoo/odoo" + - VERSION="8.0" ODOO_REPO="OCA/OCB" + install: - git clone https://github.com/yvaucher/maintainer-quality-tools.git $HOME/maintainer-quality-tools - export PATH=$HOME/maintainer-quality-tools/travis:$PATH - - travis_install_nightly 8.0 - - pip install coveralls flake8 + - travis_install_nightly - pip install python-ldap - printf '[options]\n\nrunning_env = dev' > /tmp/odoo.cfg script: - travis_run_flake8 - - travis_run_tests 8.0 /tmp/odoo.cfg + - travis_run_tests /tmp/odoo.cfg after_success: coveralls From 4c4e2139cd23db034e2804ced1d4f693dc2be31e Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (aka lmi)" Date: Mon, 4 Aug 2014 13:10:08 +0200 Subject: [PATCH 2/3] [PEP8] --- dbfilter_from_header/__openerp__.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dbfilter_from_header/__openerp__.py b/dbfilter_from_header/__openerp__.py index 7baf1f9e703..4570e55d5c3 100644 --- a/dbfilter_from_header/__openerp__.py +++ b/dbfilter_from_header/__openerp__.py @@ -19,14 +19,14 @@ # ############################################################################## { - "name" : "dbfilter_from_header", - "version" : "1.0", - "author" : "Therp BV", + "name": "dbfilter_from_header", + "version": "1.0", + "author": "Therp BV", "complexity": "normal", "description": """ This addon lets you pass a dbfilter as a HTTP header. - This is interesting for setups where database names can't be mapped to + This is interesting for setups where database names can't be mapped to proxied host names. In nginx, use @@ -34,11 +34,11 @@ The addon has to be loaded as server-wide module. """, - "category" : "Tools", - "depends" : [ + "category": "Tools", + "depends": [ 'web', ], - "data" : [ + "data": [ ], "js": [ ], @@ -46,7 +46,7 @@ ], "auto_install": False, "installable": True, - "external_dependencies" : { - 'python' : [], + "external_dependencies": { + 'python': [], }, } From 0a87609cf2d093e2129a7b888382ff6bdee1af14 Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (aka lmi)" Date: Mon, 4 Aug 2014 13:15:10 +0200 Subject: [PATCH 3/3] [FIX] travis (use the one from OCA) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9e66d5a4379..4c6a119001b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ env: - VERSION="8.0" ODOO_REPO="OCA/OCB" install: - - git clone https://github.com/yvaucher/maintainer-quality-tools.git $HOME/maintainer-quality-tools + - git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools - export PATH=$HOME/maintainer-quality-tools/travis:$PATH - travis_install_nightly - pip install python-ldap