mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
Update travis
This commit is contained in:
21
.travis.yml
21
.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
|
||||
|
||||
Reference in New Issue
Block a user