Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: proposed mass commit on OCA repositories

by
Leonardo Pistone
- 20/07/2015 09:42:12
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

Reference