From c5a65639010af508e8052963cef4a7d916c1c8c3 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Mon, 15 Jun 2015 15:00:39 +0200 Subject: [PATCH] Update travis config to follow changes on MQT template --- .travis.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec91e597..e699ff74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,28 @@ +language: python + +python: + - "2.7" + addons: apt: packages: - expect-dev # provides unbuffer utility - python-lxml # because pip installation is slow -language: python +env: + global: + - VERSION="8.0" TESTS="0" LINT_CHECK="0" -python: - - "2.7" + matrix: + - LINT_CHECK="1" + - TESTS="1" ODOO_REPO="odoo/odoo" + - TESTS="1" ODOO_REPO="OCA/OCB" virtualenv: system_site_packages: true -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" - 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 @@ -26,4 +30,4 @@ script: - travis_run_tests after_success: - coveralls + - travis_after_tests_success