1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-19 10:25:49 +00:00

Don't perform full Travis build on docs-only changes #2531

This commit is contained in:
Narendra Vardi 2017-06-18 20:18:26 +05:30 committed by Narendra Vardi
parent b51198ebe7
commit 944ae4afc3

View file

@ -42,6 +42,13 @@ matrix:
osx_image: xcode6.4
env: TOXENV=py36
before_install:
- |
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(AUTHORS|README\.rst|^(docs)/)' || {
echo "Only docs were updated, stopping build process."
exit
}
install:
- git fetch --unshallow --tags
- ./.travis/install.sh