|
@ -1,22 +1,28 @@ |
|
|
language: python |
|
|
language: python |
|
|
|
|
|
|
|
|
python: |
|
|
python: |
|
|
- "2.7" |
|
|
- "2.7" |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
- VERSION="7.0" ODOO_REPO="odoo/odoo" |
|
|
|
|
|
- VERSION="7.0" ODOO_REPO="OCA/OCB" |
|
|
|
|
|
|
|
|
- VERSION="8.0" ODOO_REPO="odoo/odoo" |
|
|
|
|
|
- VERSION="8.0" ODOO_REPO="OCA/OCB" |
|
|
|
|
|
- VERSION="8.0" UNIT_TEST="1" |
|
|
|
|
|
|
|
|
virtualenv: |
|
|
virtualenv: |
|
|
system_site_packages: true |
|
|
system_site_packages: true |
|
|
|
|
|
|
|
|
|
|
|
env: |
|
|
|
|
|
- VERSION="8.0" ODOO_REPO="odoo/odoo" |
|
|
|
|
|
- VERSION="8.0" ODOO_REPO="OCA/OCB" |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools |
|
|
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools |
|
|
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} |
|
|
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} |
|
|
- travis_install_nightly ${VERSION} |
|
|
|
|
|
|
|
|
- travis_install_nightly |
|
|
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc |
|
|
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc |
|
|
|
|
|
|
|
|
script: |
|
|
script: |
|
|
- travis_run_tests ${VERSION} |
|
|
|
|
|
|
|
|
- travis_run_tests |
|
|
|
|
|
|
|
|
after_success: |
|
|
after_success: |
|
|
coveralls |
|
|
coveralls |