Vauxoo / maintainer-quality-tools

QA tools for Odoo maintainers
GNU Affero General Public License v3.0
3 stars 9 forks source link

Error when try test PR to Odoo/odoo #168

Closed luistorresm closed 7 years ago

luistorresm commented 7 years ago

If I make the next change in .travis file:

- if [[ "${TESTS}" == "1" ]]; then cd ~/odoo-8.0; git remote add REMOTE URL; git fetch REMOTE BRANCH; git reset --hard REMOTE/BRANCH

To test a PR in Vauxoo/odoo I get the next error in travis.

job 1654 2 vauxoo mexico travis ci

moylop260 commented 7 years ago

@luistorresm Thanks for reporting

@tomeyro Could you help me to fix it?

The main issue is that we are using a git repository for odoo from runbot using the docker image https://hub.docker.com/r/vauxoo/odoo-80-image-shippable-auto/ But for travis odoo is download from tar (without git).

The idea is use a git repository for travis too but we need valid if a git clone --single-branch --depth=1 (faster clone) is compatible with the patch mentioned by @luistorresm