diff --git a/.travis.yml b/.travis.yml index 044f4a3..744db1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,24 @@ 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/webkit-tools -b 7.0 $HOME/webkit-tools - -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 ${VERSION} + - git clone https://github.com/OCA/webkit-tools ${HOME}/webkit-tools -b ${VERSION} script: - - travis_run_flake8 - - travis_run_tests 7.0 openerp_test $HOME/webkit-tools + - travis_run_flake8 + - travis_run_tests ${VERSION} ${HOME}/webkit-tools after_success: coveralls