From 2f6c5f5410b1a5845981836e9a07e8de18f6f5e6 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sat, 7 Nov 2015 12:14:53 +0100 Subject: [PATCH] [IMP] Update Travis for Transifex + Coveralls --- .travis.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 49e88b4f..04b322b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,24 +13,28 @@ addons: - python-lxml # because pip installation is slow env: - - VERSION="8.0" LINT_CHECK="1" - - VERSION="8.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0" - - VERSION="8.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0" - - VERSION="8.0" UNIT_TEST="1" LINT_CHECK="0" + global: + - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" + - TRANSIFEX_USER='transbot@odoo-community.org' + - secure: GzvUeJ2NRqb1+zQFgBcWmKqa9i3GtwD0XJP05UTGVYIBQ1oCuieB20LF8YhbXE/yI5fbbsc6AEfp3BJ579eD1vkcPFT2jyKawbVEi9NIaoKt/0KBhJJMjcLWqdCookEjdZvzRjOPbQav2o45guVZQNuxVuyIuR2gBJb8kIQ24VM= + + matrix: + - LINT_CHECK="1" + - TRANSIFEX="1" + - TESTS="1" ODOO_REPO="odoo/odoo" + - TESTS="1" ODOO_REPO="OCA/OCB" virtualenv: system_site_packages: true install: - pip install anybox.testing.openerp - - 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 -# example: dependency -# - git clone https://github.com/OCA/webkit-tools -b ${VERSION} $HOME/webkit-tools script: - travis_run_tests after_success: - coveralls + - travis_after_tests_success