travis-ci/travis-build — pull request #47 by henrikhodne (2012-11-29 02:10:59+00:00)
Title: Make the git clone depth configurable

@joshk suggested this in IRC. In many cases, a clone depth of 100
is not necessary. Reducing the clone depth may decrease the time it
takes to clone a repository.

The option can be set by adding the following to the .travis.yml
file:

```YAML
git:
depth: 20
```

Since we added `--branch` to the clone, I think we can safely turn the default down from 100, but that should probably be tested first.