Skip to content

Commit b070a4f

Browse files
authored
Merge pull request #192 from carlaKC/travis-depth
traivs: set depth to false to clone whole repo
2 parents ac09613 + 0c01e95 commit b070a4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ cache:
77
- $GOPATH/src/github.com/golang
88
- $GOPATH/src/gopkg.in/alecthomas
99

10+
# Remove Travis' default flag --depth=50 from the git clone command to make sure
11+
# we have the whole git history, including the commit we lint against.
12+
git:
13+
depth: false
14+
1015
go:
1116
- "1.13.x"
1217

0 commit comments

Comments
 (0)