mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix inverted feature test in .travis.yml
I messed this up in #3540.
(cherry picked from commit 9c12e48f68)
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ cache:
|
||||
before_install:
|
||||
- |
|
||||
if [ "$TEST_TYPE" != build_website ] && \
|
||||
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/'
|
||||
! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/'
|
||||
then
|
||||
echo "Only docs were updated, stopping build process."
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user