diff --git a/.travis.yml b/.travis.yml index 30beb4e178b..4c6a119001b 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 + - 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 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 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': [], }, }