Closed PeterDaveHello closed 10 years ago
it's for git's clone depth, defualt is 50 on travis CI, usually we don't use so much, smaller number can help clone faster, no doc yet, but have reference here : https://twitter.com/travisci/status/288390896339267584
Pretty sure detph
is a typo
Oh, yeah, sorry, let me fix it.
fixed, thanks @mathiasbynens
I'd prefer not to configure something that doesn't have a proven benefit. Can you provide comparisons that show a significant test speedup?
Without that, I'd prefer not to add configs we don't need.
Just like we don't need the whole repo to CI build, do use git shallow clone, the default value of depth is 50 on travis CI, but usually we don't need so many revisions to build, a lower number can help to save the bandwidth and time.
Since tests only take about 30 seconds to run, and bandwith is Travis' concern, I'd rather not add additional configuration that won't save a significant amount of time.
Thanks for the submission and the explanation!
What does this do, and how can I learn of such tricks.