mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-30 23:56:05 +00:00
Fix TravisCI for the failure of 'go get golint'
This commit is contained in:
parent
980edbdf6c
commit
5380edbe6e
@ -13,12 +13,7 @@ before_install:
|
||||
- go get github.com/mattn/goveralls
|
||||
|
||||
install:
|
||||
# workaround golint install error in https://github.com/golang/lint/issues/288
|
||||
- mkdir -p $GOPATH/src/golang.org/x
|
||||
- pushd $GOPATH/src/golang.org/x
|
||||
- git clone https://github.com/golang/lint.git
|
||||
- go get github.com/golang/lint/golint
|
||||
- popd
|
||||
- go get -u golang.org/x/lint/golint
|
||||
|
||||
before_script:
|
||||
- golint ./multus/... | grep -v ALL_CAPS | xargs -r false
|
||||
|
Loading…
Reference in New Issue
Block a user