From f5b4ad47c9eaf24ee9042da0ffe0ca9f56cba765 Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Thu, 1 Oct 2015 09:34:50 +0200 Subject: [PATCH 1/4] Update travis config file according to https://github.com/OCA/maintainer-quality-tools/blob/master/sample_files/.travis.yml --- .travis.yml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 300967df5..fe17be62f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,33 +1,38 @@ +language: python sudo: false cache: pip +python: + - "2.7" + addons: apt: packages: - expect-dev # provides unbuffer utility - python-lxml # because pip installation is slow -language: python - -python: - - "2.7" - env: - - VERSION="8.0" LINT_CHECK="1" - - VERSION="8.0" LINT_CHECK="0" + global: + - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" + - TRANSIFEX_USER='transbot@odoo-community.org' + - secure: cnskjzYSLkdeEoUDIhwkwqWsNKIj36JyoA/H7ByNLBphAm9Xrs/ZE8Y5AHxsXp8zQjIGnzw4fpEEO8oakmaueFTaAKlzWS2KH8NWxTjNHkIv/+TFwYsayWNG6O39021wSMQnTRDVERNlBdTwjCTBne81a50NqCeUIrtgcwycwzU= + +matrix: + - LINT_CHECK="1" + - TRANSIFEX="1" + - TESTS="1" ODOO_REPO="odoo/odoo" + - TESTS="1" ODOO_REPO="OCA/OCB" virtualenv: system_site_packages: true install: - - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools + - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - - travis_install_nightly ${VERSION} - - $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION} + - travis_install_nightly script: - - travis_run_flake8 - - travis_run_tests ${VERSION} + - travis_run_tests after_success: - coveralls + - travis_after_tests_success From 46cb902abccc29f0bc09b21d5d434968b6df89eb Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Thu, 1 Oct 2015 09:37:22 +0200 Subject: [PATCH 2/4] Update README by adding the translation status --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a372d62e5..37812d8e7 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,8 @@ addon | version | summary [mrp_production_properties](__unported__/mrp_production_properties/) | 0.1 (unported) | Mrp Production Properties [//]: # (end addons) + +Translation status +------------------ + +[![Transifex Status](https://www.transifex.com/projects/p/OCA-manufacture-8-0/chart/image_png)](https://www.transifex.com/projects/p/OCA-manufacture-8-0) From 50ce302cc0b33a9d6d67728d10f9cd54997a693d Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Thu, 1 Oct 2015 10:26:19 +0200 Subject: [PATCH 3/4] Add Runbot Status and Code Climate to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 37812d8e7..fb8b13a93 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ +[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/129/8.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-manufacture-129) [![Build Status](https://travis-ci.org/OCA/manufacture.svg?branch=8.0)](https://travis-ci.org/OCA/manufacture) [![Coverage Status](https://coveralls.io/repos/OCA/manufacture/badge.png?branch=8.0)](https://coveralls.io/r/OCA/hr?branch=8.0) +[![Code Climate](https://codeclimate.com/github/OCA/manufacture/badges/gpa.svg)](https://codeclimate.com/github/OCA/manufacture) + Odoo Manufacturing Modules ========================== From ff26d89b0a364171ed640ff9659362996fbc880a Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Thu, 1 Oct 2015 14:11:25 +0200 Subject: [PATCH 4/4] Add .codeclimate.yml --- .codeclimate.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 000000000..b7eae571b --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,7 @@ +languages: + JavaScript: true + Python: true +exclude_paths: +- "__unported__/*" +- "*/__openerp__.py" # because this is fed to eval +- "*/migrations/*" # without OpenUpgrade, repetitions can be necessary