Fix TravisCI for the failure of 'go get golint'

This commit is contained in:
Tomofumi Hayashi 2018-10-15 16:04:16 +09:00 committed by Tomofumi Hayashi
parent 980edbdf6c
commit 5380edbe6e

View File

@ -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