1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Merge pull request #362 from nirmata/travis_build

skip documentation changes
This commit is contained in:
Shivkumar Dudhani 2019-10-02 15:37:21 -07:00 committed by GitHub
commit ed960ad277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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