Re: Reducing redundant build at Travis?
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Jul 26, 2017, 16:43 UTC
- Message-ID
- <3056CC17-DDD5-406C-AA22-56309DF09DC8@gmail.com>
- In-Reply-To
- <xmqqo9sdhh9o.fsf@gitster.mtv.corp.google.com>
Show 10 quoted lines
> On 21 Jul 2017, at 18:44, Junio C Hamano <gitster@pobox.com> wrote: > > Lars Schneider <larsxschneider@gmail.com> writes: > >> To answer your question: I don't see an easy solution to the problem. > > That's OK. Thanks for digging. > > I am wondering if the attached would be acceptable as a minimum > impact patch to address this issue.
Your patch would still run a number of expensive operations for the same hashes (e.g. static analysis and documentation builds). I started to work on a patch that moves all TravisCI logic into scripts located in the `ci` folder. These scripts share a `lib-travisci.sh` for common functions such as `skip_branch_tip_with_tag ()` executed at the beginning of every script.
Does this sound sensible to you? I am a bit busy with non Git related work right now but I try to post the patch for you to review ASAP.
- Lars