build,travis: limit git depth to 1 level 4599/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 19 Jul 2017 06:42:33 +0000 (09:42 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 19 Jul 2017 06:42:34 +0000 (09:42 +0300)
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>
.travis.yml

index 4cf74b1f06d26747ffe500c5a9deba0c40d4fc5b..e8e37aa7d548d13a5f39fc1584e8ab57562c75cf 100644 (file)
@@ -1,3 +1,5 @@
+git:
+  depth: 1
 language: c
 dist: trusty
 sudo: false