mirror of https://github.com/apache/druid.git
skip travis on doc only changes (#6061)
* skip travis on doc only changes * more selective ignoring of examples folder
This commit is contained in:
parent
63be028cee
commit
66af403f7d
10
.travis.yml
10
.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
|
||||
|
|
Loading…
Reference in New Issue