From c9522bbe4de02cb9d2bf7087fcae8237635780b0 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Mon, 8 Sep 2014 14:10:49 +0200 Subject: [PATCH] update travis config --- .travis.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9186a6810..c3b2ecd8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,25 @@ language: python + python: - "2.7" +env: + - VERSION="7.0" ODOO_REPO="odoo/odoo" + - VERSION="7.0" ODOO_REPO="OCA/OCB" + virtualenv: system_site_packages: true install: - - git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools - - export PATH=$HOME/maintainer-quality-tools/travis:$PATH - - $HOME/maintainer-quality-tools/travis/travis_install_nightly 7.0 - - pip install coveralls flake8 - - git clone https://github.com/OCA/stock-logistics-tracking -b 7.0 $HOME/stock-logistics-tracking - - git clone https://github.com/OCA/stock-logistics-barcode -b 7.0 $HOME/stock-logistics-barcode - -services: - - postgresql + - 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 + - git clone https://github.com/OCA/stock-logistics-tracking -b ${VERSION} $HOME/stock-logistics-tracking + - git clone https://github.com/OCA/stock-logistics-barcode -b ${VERSION} $HOME/stock-logistics-barcode script: - travis_run_flake8 - - travis_run_tests 7.0 openerp_test $HOME/stock-logistics-tracking $HOME/stock-logistics-barcode + - travis_run_tests after_success: coveralls