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.
This commit is contained in:
Jakob Unterwurzacher 2017-02-16 21:24:33 +01:00
parent 62e7eb7d04
commit 07b4b9d60b
1 changed files with 3 additions and 0 deletions

View File

@ -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: