1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00

Merge pull request #2707 from narendravardi/master

Don't perform full Travis build on docs-only changes #2531
This commit is contained in:
enkore 2017-06-19 09:58:41 +02:00 committed by GitHub
commit 52da719d30
2 changed files with 9 additions and 1 deletions

View file

@ -42,6 +42,14 @@ matrix:
osx_image: xcode6.4
env: TOXENV=py36
before_install:
- |
echo Checking whether $TRAVIS_COMMIT_RANGE changed only docs
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

View file

@ -17,7 +17,7 @@ Repository
.. Some parts of this description were taken from the Repository docstring
|project_name| stores its data in a `Repository`, which is a filesystem-based
Borg stores its data in a `Repository`, which is a file system based
transactional key-value store. Thus the repository does not know about
the concept of archives or items.