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 <[email protected]> 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, <[email protected]> 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 <[email protected]> > > Authored: Sun Aug 17 00:59:09 2014 +0800 > > Committer: Nick Wellnhofer <[email protected]> > > 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 > > > > > > >
