1
0
Fork 0
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:
Markus Lehtonen 2020-05-19 17:18:46 +03:00
parent 640dc9fbf3
commit a7dc63e091

View file

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