Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: proposed mass commit on OCA repositories

by
Camptocamp France SAS, Alexandre Fayolle
- 25/07/2015 00:29:58
Ok, this is done. I did not get the time to move the pip install lines to requirements.txt this time, but at least most of our builds are now using TravisCI container infrastructure.

We still have an issue with branches which need wkhtmltopdf for their tests, because this has to be manually downloaded and installed with sudo dpkg -i:

* OCB 8.0
* account-financial-reporting
* l10n-canada

I wish you all a nice week end. Happy coding to all :-)

Alexandre

2015-07-20 9:53 GMT+02:00 Leonardo Pistone <lpistone@gmail.com>:
Absolutely +1, thanks!

Since pip 7.0.0, when you install a package, pip will build a wheel,
cache it, and only then install it. That means that subsequent
installs of C modules like lxml will be fast.

See https://pip.pypa.io/en/latest/news.html

On Sun, Jul 19, 2015 at 3:37 PM, Alexandre Fayolle
<alexandre.fayolle@camptocamp.com> wrote:
> Hello everyone,
>
> Following the advice found on
> http://docs.travis-ci.com/user/migrating-from-legacy/ I'm planning to make a
> mass commit on the branches 6.1, 7.0, 8.0 of all OCA projects having
> .travis.yml with the following changes (except l10n-brazil):
>
> + sudo: false
> + cache: pip
>
> I've tested this on server-tools and the speed up is noticeable (-25%)
>
> If time allows, I will also try to extract the pip install  from
> the install section of .travis.yml and replace it with pip install -r
> requirements.txt which I think will make it easier to handle the external
> dependencies.
>
> l10n-brazil cannot be processed for now because it uses a non standard
> travis set up. I'll open an issue on the project for the team to process).
>
> If you think this is not a good idea, please speak up :-)
>
> --
> Alexandre
>
>
> _______________________________________________
> Mailing-List: http://odoo-community.org/groups/oca-contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: http://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: http://odoo-community.org/groups/oca-contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

Reference