From 07b4b9d60b65066276aba98998304d26cd69bccb Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 16 Feb 2017 21:24:33 +0100 Subject: [PATCH] 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. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) 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: