Skip to content

Commit

Permalink
enhance(dep): adds dep check in travis
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit adds `dep check` in travis which will allow catching broken dependencies PR
  • Loading branch information
ashishranjan738 committed Mar 17, 2019
1 parent abe307f commit 134a01d
Show file tree
Hide file tree
Showing 97 changed files with 11,376 additions and 1,235 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ go:
before_install:
- go get github.com/mattn/goveralls
- go get github.com/rexray/gocsi/csc
- go get -u github.com/golang/dep/cmd/dep
- sudo apt update && sudo apt install procps -y # for installing pkill

script:
Expand Down
99 changes: 60 additions & 39 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hack/verify-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ PKG_ROOT=$(git rev-parse --show-toplevel)
${PKG_ROOT}/hack/verify-gofmt.sh
${PKG_ROOT}/hack/verify-govet.sh
${PKG_ROOT}/hack/verify-golint.sh
${PKG_ROOT}/hack/verify-dep.sh
22 changes: 22 additions & 0 deletions hack/verify-dep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

# Copyright 2019 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -euo pipefail

echo "Verifying dep check"
dep check
echo "No issue found"

2 changes: 1 addition & 1 deletion vendor/github.com/Azure/go-autorest/autorest/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 134a01d

Please sign in to comment.