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. 16
      dbfilter_from_header/__openerp__.py

11
.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

16
dbfilter_from_header/__openerp__.py

@ -19,9 +19,9 @@
#
##############################################################################
{
"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.
@ -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': [],
},
}
Loading…
Cancel
Save