From 7b10362214f44c8023c59d420d751c083a5146cb Mon Sep 17 00:00:00 2001 From: Nicolas Bessi Date: Tue, 12 Aug 2014 15:05:06 +0200 Subject: [PATCH 1/2] [FIX] travis for 8.0 series --- .travis.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index e2d1c7b3c..7a2a2ae18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,27 +1,25 @@ +# Config file .travis.yml + language: python + python: - "2.7" +env: + - VERSION="8.0" ODOO_REPO="odoo/odoo" + - VERSION="8.0" ODOO_REPO="OCA/OCB" + virtualenv: system_site_packages: true -before_install: - - git clone https://github.com/nbessi/maintainer-quality-tools.git $HOME/maintainer-quality-tools -b consolidated - - git clone https://github.com/OCA/connector $HOME/connector -b 7.0 - -env: - - PATH=$HOME/maintainer-quality-tools/travis:$PATH - -services: - - postgresql - install: - - $HOME/maintainer-quality-tools/travis/travis_install_nightly 7.0 - - pip install coveralls flake8 + - 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 ${VERSION} script: - - travis_run_flake8 steps - - travis_run_tests_encapsulated 7.0 account $HOME/connector + - travis_run_flake8 + - travis_run_tests after_success: - coveralls + coveralls \ No newline at end of file From 20688f3cca45d3eed76aef1b3963acc9757d66a8 Mon Sep 17 00:00:00 2001 From: Nicolas Bessi Date: Tue, 12 Aug 2014 15:06:59 +0200 Subject: [PATCH 2/2] [WHITESPACE] --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7a2a2ae18..4f47cf66a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ script: - travis_run_tests after_success: - coveralls \ No newline at end of file + coveralls