mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 03:23:55 +03:00
Improved travis build
This commit is contained in:
parent
53de24b705
commit
256a94bc81
|
@ -14,8 +14,9 @@ cache:
|
|||
- $HOME/docs/node_modules
|
||||
before_install:
|
||||
- |
|
||||
if [ "$TEST_TYPE" != build_website ] && \
|
||||
! 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 ] && \
|
||||
! echo "$git_diff" | grep -qvE '(\.md$)|(^(docs))/'
|
||||
then
|
||||
echo "Only docs were updated, stopping build process."
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue
Block a user