mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 02:37:11 +00:00
travis: add ci-lint check
Build fails if lint does not pass muster.
This commit is contained in:
parent
640dc9fbf3
commit
a7dc63e091
1 changed files with 4 additions and 0 deletions
|
@ -11,8 +11,12 @@ env:
|
|||
services:
|
||||
- docker
|
||||
|
||||
before_script:
|
||||
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.27.0
|
||||
|
||||
script:
|
||||
- make gofmt-verify
|
||||
- make ci-lint
|
||||
- make image -e
|
||||
- if [ "$TRAVIS_BRANCH" == master -a -n "$IMAGE_REPO_USER" ]; then
|
||||
set -e;
|
||||
|
|
Loading…
Add table
Reference in a new issue