7 - DATABASE="openerp_test"
10 system_site_packages: true
13 - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
14 - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
15 - sudo apt-get install python-lxml
16 - pip install QUnitSuite flake8 coveralls
17 - pip install -r ${HOME}/maintainer-quality-tools/travis/requirements.txt
21 - createdb ${DATABASE}
22 - ./openerp-server -d ${DATABASE} --addons-path=./openerp/addons,./addons --stop-after-init --init=all
23 - coverage run ./openerp-server -d ${DATABASE} --addons-path=./openerp/addons,./addons --stop-after-init --init=all --test-enable --log-level=test | tee stdout.log
24 - if grep -v mail stdout.log | egrep -q "(At least one test failed when loading the modules.|ERROR ${DATABASE})"; then exit 1; fi