Skip to content

Commit 2640f5c

Browse files
author
Dongsu Park
committed
travis: fix fetch issue of golint
As golint repo does not return metadata for "go get" to work correctly, every travis build fails. Let's install golint without using go get until it's fixed. See also golang/lint#397 Signed-off-by: Dongsu Park <[email protected]>
1 parent 95866ec commit 2640f5c

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)