Fix CI pipeline error in travisCI.

This commit is contained in:
Tomofumi Hayashi
2018-04-24 11:44:59 +09:00
parent 362be285c9
commit 82bece6d73

View File

@@ -8,7 +8,13 @@ before_install:
- sudo apt-get update -qq
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/tools.git
- git clone https://github.com/golang/lint.git
- go get github.com/golang/lint/golint
- popd
before_script:
- golint ./multus/... | grep -v ALL_CAPS | xargs -r false