Contributors mailing list archives


Travis on OCA projects: use oca_dependencies.txt

Guewen Baconnier
- 05/11/2015 21:30:59

Due to recent issues with some builds [0], I made a change [1] in the Travis builds which happens to bring other issues with some builds...

Previously, the dependency repositories where cloned in $HOME/<name_of_dependency_repo>, so in $HOME we had dependency folders mixed with other folders.
My change was to move all the dependencies in $HOME/dependencies/<name_of_dependency_repo> in order to have only them in one place.

What I didn't anticipated, is that some repositories still have hardcoded 'git clone' in their .travis.cfg, and this 'git clone' clones the repo in $HOME, so the builds do no longer build.

The correction on the impacted repositories is straightforward: use a 'oca_dependencies.txt' file instead of the hardcoded clones. See an example here:

Sorry for the inconvenience.


Guewen Baconnier
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 39
Office: +41 21 619 10 10