mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
update travis config
This commit is contained in:
21
.travis.yml
21
.travis.yml
@@ -1,24 +1,25 @@
|
||||
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/stock-logistics-tracking -b 7.0 $HOME/stock-logistics-tracking
|
||||
- git clone https://github.com/OCA/stock-logistics-barcode -b 7.0 $HOME/stock-logistics-barcode
|
||||
|
||||
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
|
||||
- git clone https://github.com/OCA/stock-logistics-tracking -b ${VERSION} $HOME/stock-logistics-tracking
|
||||
- git clone https://github.com/OCA/stock-logistics-barcode -b ${VERSION} $HOME/stock-logistics-barcode
|
||||
|
||||
script:
|
||||
- travis_run_flake8
|
||||
- travis_run_tests 7.0 openerp_test $HOME/stock-logistics-tracking $HOME/stock-logistics-barcode
|
||||
- travis_run_tests
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
|
||||
Reference in New Issue
Block a user