build,travis: limit git depth to 1 level

It's just a minor optimization of the build.
No need to clone up to 50 revisions back (travis default)

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean 2017-07-19 09:42:33 +03:00
parent c188fcfb7c
commit 00481d1515
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
git:
depth: 1
language: c
dist: trusty
sudo: false