[FIX] put the helper scripts into path, don't quote coverage cmd
authorHolger Brunn <hbrunn@therp.nl>
Mon, 21 Jul 2014 10:11:01 +0000 (12:11 +0200)
committerHolger Brunn <hbrunn@therp.nl>
Mon, 21 Jul 2014 10:11:01 +0000 (12:11 +0200)
.travis.yml

index ca285b4..6c13e6a 100644 (file)
@@ -11,6 +11,7 @@ virtualenv:
 
 install:
   - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
+  - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
   - sudo apt-get install python-lxml
   - pip install QUnitSuite flake8 coveralls
   - pip install -r ${HOME}/maintainer-quality-tools/travis/requirements.txt
@@ -19,7 +20,7 @@ script:
   - travis_run_flake8
   - createdb ${DATABASE}
   - ./openerp-server -d ${DATABASE} --addons-path=./openerp/addons,./addons --stop-after-init --init=all
-  - coverage run "./openerp-server -d ${DATABASE} --addons-path=./openerp/addons,./addons --stop-after-init --init=all --test-enable --log-level=test" | tee stdout.log
+  - coverage run ./openerp-server -d ${DATABASE} --addons-path=./openerp/addons,./addons --stop-after-init --init=all --test-enable --log-level=test | tee stdout.log
   - ! grep -v mail stdout.log | egrep -q "(At least one test failed when loading the modules.|ERROR ${DATABASE})"
 
 after_success: