Browse Source

Merge pull request #33 from acsone/8.0-fix-travis

8.0 fix travis
pull/18/head
Yannick Vaucher 11 years ago
parent
commit
9a06383c92
  1. 11
      .travis.yml
  2. 18
      dbfilter_from_header/__openerp__.py

11
.travis.yml

@ -5,17 +5,20 @@ python:
virtualenv: virtualenv:
system_site_packages: true system_site_packages: true
env:
- VERSION="8.0" ODOO_REPO="odoo/odoo"
- VERSION="8.0" ODOO_REPO="OCA/OCB"
install: 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 - export PATH=$HOME/maintainer-quality-tools/travis:$PATH
- travis_install_nightly 8.0
- pip install coveralls flake8
- travis_install_nightly
- pip install python-ldap - pip install python-ldap
- printf '[options]\n\nrunning_env = dev' > /tmp/odoo.cfg - printf '[options]\n\nrunning_env = dev' > /tmp/odoo.cfg
script: script:
- travis_run_flake8 - travis_run_flake8
- travis_run_tests 8.0 /tmp/odoo.cfg
- travis_run_tests /tmp/odoo.cfg
after_success: after_success:
coveralls coveralls

18
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", "complexity": "normal",
"description": """ "description": """
This addon lets you pass a dbfilter as a HTTP header. 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. proxied host names.
In nginx, use In nginx, use
@ -34,11 +34,11 @@
The addon has to be loaded as server-wide module. The addon has to be loaded as server-wide module.
""", """,
"category" : "Tools",
"depends" : [
"category": "Tools",
"depends": [
'web', 'web',
], ],
"data" : [
"data": [
], ],
"js": [ "js": [
], ],
@ -46,7 +46,7 @@
], ],
"auto_install": False, "auto_install": False,
"installable": True, "installable": True,
"external_dependencies" : {
'python' : [],
"external_dependencies": {
'python': [],
}, },
} }
Loading…
Cancel
Save