You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by ji...@apache.org on 2018/07/30 20:36:53 UTC
[incubator-druid] branch master updated: skip travis on doc only
changes (#6061)
This is an automated email from the ASF dual-hosted git repository.
jihoonson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new 66af403 skip travis on doc only changes (#6061)
66af403 is described below
commit 66af403f7d06b7f93d2e6e78f4e445c7a47e35cd
Author: Clint Wylie <cj...@gmail.com>
AuthorDate: Mon Jul 30 13:36:49 2018 -0700
skip travis on doc only changes (#6061)
* skip travis on doc only changes
* more selective ignoring of examples folder
---
.travis.yml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 4ec3050..0a37b3f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,15 @@ jdk:
cache:
directories:
- $HOME/.m2
-
+before_install:
+ - |
+ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
+ TRAVIS_COMMIT_RANGE="FETCH_HEAD...$TRAVIS_BRANCH"
+ fi
+ git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples/(bin|conf|conf-quickstart|quickstart)|publications))/' || {
+ echo "Only docs were updated, stopping build process."
+ exit
+ }
matrix:
include:
# strict compilation
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org