aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-02-16 21:24:33 +0100
committerJakob Unterwurzacher2017-02-16 21:24:33 +0100
commit07b4b9d60b65066276aba98998304d26cd69bccb (patch)
tree34c789273db845b083994b5e09b0d7ddb94a4942
parent62e7eb7d04793d7d629c1105a3eddf04e396ac24 (diff)
Travis: set clone depth to 100
Otherwise the build fails once you have more than 50 commits since the last tag. You'd get: $ ./build.bash fatal: No names found, cannot describe anything.
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index d848911..ba2b985 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,8 @@
language: go
+git:
+ depth: 100
+
# Build with the lastest versions of Go 1.4, 1.5, 1.6, 1.7
# See https://golang.org/dl/
go: