You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by Kurt Starsinic <ks...@gmail.com> on 2014/09/02 18:55:49 UTC
[lucy-dev] Re: git commit: refs/heads/master - Make Travis CI build faster
Thanks for this, Nick!
BTW, where did you learn about git: / depth: ? Is it documented (and, if
so, where), or did you have to read code (I haven't been able thus far to
find thorough documentation of .travis.yml)?
On Tue, Sep 2, 2014 at 4:53 AM, <nw...@apache.org> wrote:
> Repository: lucy
> Updated Branches:
> refs/heads/master 481653b59 -> 6f6821e83
>
>
> Make Travis CI build faster
>
> Merge Github pull request from PeterDaveHello. This closes #7.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
> Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/6f6821e8
> Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/6f6821e8
> Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/6f6821e8
>
> Branch: refs/heads/master
> Commit: 6f6821e83a929ae5414597bfa3f0adb9336c6470
> Parents: 481653b
> Author: Peter Dave Hello <hs...@peterdavehello.org>
> Authored: Sun Aug 17 00:59:09 2014 +0800
> Committer: Nick Wellnhofer <we...@aevum.de>
> Committed: Tue Sep 2 10:50:43 2014 +0200
>
> ----------------------------------------------------------------------
> .travis.yml | 2 ++
> 1 file changed, 2 insertions(+)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/lucy/blob/6f6821e8/.travis.yml
> ----------------------------------------------------------------------
> diff --git a/.travis.yml b/.travis.yml
> index e746958..dd676de 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -22,6 +22,8 @@ perl:
> - "5.12"
> - "5.10"
> - "5.8"
> +git:
> + depth: 10
> before_install:
> - cd perl
>
>
>
Re: [lucy-dev] Re: git commit: refs/heads/master - Make Travis CI
build faster
Posted by Timothy Wilkens <ti...@gmail.com>.
I found this comment on an identical pull request PeterDaveHello made to
another project
it's git's shallow clone depth, which can help to clone faster, and save
> some bandwidth, the default value is 50 on travis, but we usually don't use
> so many revisions to build, 10 is enough and safe, you can refer to here:
> http://git-scm.com/docs/git-clone and here:
> https://twitter.com/travisci/status/288390896339267584, thanks!
>
which can be found here: https://github.com/gitterHQ/mutant.js/pull/6
On Tue, Sep 2, 2014 at 9:55 AM, Kurt Starsinic <ks...@gmail.com> wrote:
> Thanks for this, Nick!
>
> BTW, where did you learn about git: / depth: ? Is it documented (and, if
> so, where), or did you have to read code (I haven't been able thus far to
> find thorough documentation of .travis.yml)?
>
>
> On Tue, Sep 2, 2014 at 4:53 AM, <nw...@apache.org> wrote:
>
> > Repository: lucy
> > Updated Branches:
> > refs/heads/master 481653b59 -> 6f6821e83
> >
> >
> > Make Travis CI build faster
> >
> > Merge Github pull request from PeterDaveHello. This closes #7.
> >
> >
> > Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
> > Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/6f6821e8
> > Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/6f6821e8
> > Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/6f6821e8
> >
> > Branch: refs/heads/master
> > Commit: 6f6821e83a929ae5414597bfa3f0adb9336c6470
> > Parents: 481653b
> > Author: Peter Dave Hello <hs...@peterdavehello.org>
> > Authored: Sun Aug 17 00:59:09 2014 +0800
> > Committer: Nick Wellnhofer <we...@aevum.de>
> > Committed: Tue Sep 2 10:50:43 2014 +0200
> >
> > ----------------------------------------------------------------------
> > .travis.yml | 2 ++
> > 1 file changed, 2 insertions(+)
> > ----------------------------------------------------------------------
> >
> >
> > http://git-wip-us.apache.org/repos/asf/lucy/blob/6f6821e8/.travis.yml
> > ----------------------------------------------------------------------
> > diff --git a/.travis.yml b/.travis.yml
> > index e746958..dd676de 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -22,6 +22,8 @@ perl:
> > - "5.12"
> > - "5.10"
> > - "5.8"
> > +git:
> > + depth: 10
> > before_install:
> > - cd perl
> >
> >
> >
>
Re: [lucy-dev] Re: git commit: refs/heads/master - Make Travis CI build faster
Posted by Nick Wellnhofer <we...@aevum.de>.
On Sep 2, 2014, at 18:55 , Kurt Starsinic <ks...@gmail.com> wrote:
> Thanks for this, Nick!
>
> BTW, where did you learn about git: / depth: ? Is it documented (and, if
> so, where), or did you have to read code (I haven't been able thus far to
> find thorough documentation of .travis.yml)?
I’m not the author of this ocmmit. I just merged a pull request from Github user PeterDaveHello:
https://github.com/apache/lucy/pull/7
Nick