From 944ae4afc375aac0550e4d7c82271d0db46d2dc6 Mon Sep 17 00:00:00 2001 From: Narendra Vardi Date: Sun, 18 Jun 2017 20:18:26 +0530 Subject: [PATCH 1/3] Don't perform full Travis build on docs-only changes #2531 --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index bfebcf676..88c714719 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 From 6e17ca7c3a6f13d37d2df6fe047e9555a3a678dd Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Mon, 19 Jun 2017 09:50:22 +0200 Subject: [PATCH 2/3] docs: fix typo --- docs/internals/data-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/internals/data-structures.rst b/docs/internals/data-structures.rst index 27089d6fe..d0f1814bd 100644 --- a/docs/internals/data-structures.rst +++ b/docs/internals/data-structures.rst @@ -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. From a4440dac4d4bda599f2620e0fbe2c608849355a9 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Mon, 19 Jun 2017 09:55:56 +0200 Subject: [PATCH 3/3] travis: print commit range --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 88c714719..e12266b9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,7 @@ matrix: 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