fix travis docs check (#4556)

This commit is contained in:
Henry Zhu 2016-09-24 10:11:52 -04:00 committed by GitHub
parent d6f4d85284
commit ca7c48ff28

View File

@ -7,9 +7,6 @@ cache:
- node_modules
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$)|(^(doc))/' || {
echo "Only docs were updated, stopping build process."
exit