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:
parent
b51198ebe7
commit
944ae4afc3
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue