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