From 91f9afed5f223e500414f9334262092da4787a27 Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Sat, 15 Oct 2016 10:31:31 -0700 Subject: [PATCH] [IMP] travis: Upgrade travis config * Switch to new matrix * Add Transifex * Add travis_after_tests_success --- .travis.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e76b0bd2..9c84aaff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,24 +13,28 @@ addons: - python-lxml # because pip installation is slow env: - - VERSION="10.0" LINT_CHECK="1" - - VERSION="10.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0" - - VERSION="10.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0" - - VERSION="10.0" UNIT_TEST="1" LINT_CHECK="0" + global: + - VERSION="10.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