1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00

skip documentation changes

This commit is contained in:
shivkumar dudhani 2019-10-02 15:27:40 -07:00
parent e63a5ff97e
commit d8ad99fdf1

View file

@ -6,7 +6,14 @@ go:
branches:
only:
- master
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|^(LICENSE)'
then
echo "Not running CI since only docs were changed."
exit
fi
# Skip the install step. Don't `go get` dependencies. Only build with the code
# in vendor/
install: true