Skip to content

Commit

Permalink
Merge pull request #33 from acsone/8.0-fix-travis
Browse files Browse the repository at this point in the history
8.0 fix travis
  • Loading branch information
yvaucher committed Aug 4, 2014
2 parents f83737f + 0a87609 commit 9a06383
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 9 additions & 9 deletions dbfilter_from_header/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@
#
##############################################################################
{
"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
proxy_set_header X-OpenERP-dbfilter [your filter];
The addon has to be loaded as server-wide module.
""",
"category" : "Tools",
"depends" : [
"category": "Tools",
"depends": [
'web',
],
"data" : [
"data": [
],
"js": [
],
"css": [
],
"auto_install": False,
"installable": True,
"external_dependencies" : {
'python' : [],
"external_dependencies": {
'python': [],
},
}

0 comments on commit 9a06383

Please sign in to comment.