Browse Source

Merge pull request #69 from savoirfairelinux/fix_travis

Fix and update travis
pull/63/merge
Sandy 10 years ago
parent
commit
37b5ba3b8f
  1. 15
      .coveragerc
  2. 6
      .travis.yml
  3. 1
      base_field_serialized/security/ir.model.access.csv

15
.coveragerc

@ -1,15 +0,0 @@
[report]
include =
*/OCA/server-tools/*
omit =
*/tests/*
*__init__.py
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about null context checking
if context is None:

6
.travis.yml

@ -6,6 +6,7 @@ python:
env: env:
- VERSION="8.0" ODOO_REPO="odoo/odoo" - VERSION="8.0" ODOO_REPO="odoo/odoo"
- VERSION="8.0" ODOO_REPO="OCA/OCB" - VERSION="8.0" ODOO_REPO="OCA/OCB"
- VERSION="8.0" UNIT_TEST="1"
virtualenv: virtualenv:
system_site_packages: true system_site_packages: true
@ -17,13 +18,12 @@ env:
install: install:
- git clone https://github.com/OCA/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 ${VERSION}
- travis_install_nightly
- sudo pip install python-ldap - sudo pip install python-ldap
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
- ln -s server_environment_files_sample ./server_environment_files - ln -s server_environment_files_sample ./server_environment_files
script: script:
- travis_run_flake8
- travis_run_tests ${VERSION}
- travis_run_tests
after_success: after_success:
coveralls coveralls

1
base_field_serialized/security/ir.model.access.csv

@ -0,0 +1 @@
access_base_field_serialized_test_model,access_base_field_serialized_test_model,model_base_field_serialized_test_model,base.group_no_one,1,1,1,1
Loading…
Cancel
Save