We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53de24b commit 256a94bCopy full SHA for 256a94b
.travis.yml
@@ -14,8 +14,9 @@ cache:
14
- $HOME/docs/node_modules
15
before_install:
16
- |
17
- if [ "$TEST_TYPE" != build_website ] && \
18
- ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs))/'
+ git_diff=$(git diff --name-only $TRAVIS_COMMIT_RANGE)
+ if [ "$?" == 0 ] && [ "$TEST_TYPE" != build_website ] && \
19
+ ! echo "$git_diff" | grep -qvE '(\.md$)|(^(docs))/'
20
then
21
echo "Only docs were updated, stopping build process."
22
exit
0 commit comments