Skip to content

Commit a02e0cb

Browse files
author
Zhou Hao
authored
Merge pull request #630 from kinvolk/dongsu/fix-golint-fetch
travis: fix fetch issue of golint
2 parents 95866ec + 2640f5c commit a02e0cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ go:
77
sudo: false
88

99
before_install:
10-
- go get github.com/golang/lint/golint
10+
- mkdir --parents $GOPATH/src/golang.org/x
11+
&& git clone --depth=1 https://go.googlesource.com/lint $GOPATH/src/golang.org/x/lint
12+
&& go get golang.org/x/lint/golint
1113
- go get github.com/vbatts/git-validation
1214

1315
install: true

0 commit comments

Comments
 (0)