traivs: set depth to false to clone whole repo

Overwrite travis's default of only cloning the last 50 commands so
that travis can find the reference point for our linter.

As in lightningnetwork/lnd/pull/4026
This commit is contained in:
carla 2020-05-04 13:56:38 +02:00
parent ac096132b0
commit 0c01e95433
No known key found for this signature in database
GPG key ID: 4CA7FE54A6213C91

View file

@ -7,6 +7,11 @@ cache:
- $GOPATH/src/github.com/golang
- $GOPATH/src/gopkg.in/alecthomas
# Remove Travis' default flag --depth=50 from the git clone command to make sure
# we have the whole git history, including the commit we lint against.
git:
depth: false
go:
- "1.13.x"