mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +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:
commit
52da719d30
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue