From fa73d00f19b982c7909f0c72012f61cbc55a2501 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Wed, 1 Oct 2014 18:29:50 -0400 Subject: [PATCH] Fix and update travis Remove .coveragerc because new tests creates its own --- .coveragerc | 15 --------------- .travis.yml | 6 +++--- .../security/ir.model.access.csv | 1 + 3 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 .coveragerc create mode 100644 base_field_serialized/security/ir.model.access.csv diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 277f2a902..000000000 --- a/.coveragerc +++ /dev/null @@ -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: diff --git a/.travis.yml b/.travis.yml index 930ac8872..57724abc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ python: env: - VERSION="8.0" ODOO_REPO="odoo/odoo" - VERSION="8.0" ODOO_REPO="OCA/OCB" + - VERSION="8.0" UNIT_TEST="1" virtualenv: system_site_packages: true @@ -17,13 +18,12 @@ env: install: - 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 ${VERSION} + - travis_install_nightly - sudo pip install python-ldap - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc - ln -s server_environment_files_sample ./server_environment_files script: - - travis_run_flake8 - - travis_run_tests ${VERSION} + - travis_run_tests after_success: coveralls diff --git a/base_field_serialized/security/ir.model.access.csv b/base_field_serialized/security/ir.model.access.csv new file mode 100644 index 000000000..0373a5fba --- /dev/null +++ b/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