Skip to content

Commit 1214477

Browse files
authored
travis updates (#4594)
* v3.16.0 * rebuild dist * rework travis early-success trigger
1 parent bacea7a commit 1214477

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ before_install:
1515
- | # quickly pass if only documentation is being updated
1616
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
1717
TRAVIS_COMMIT_RANGE="FETCH_HEAD...$TRAVIS_BRANCH"
18+
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || {
19+
echo "Only docs were updated, stopping build process."
20+
exit
21+
}
1822
fi
19-
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || {
20-
echo "Only docs were updated, stopping build process."
21-
exit
22-
}
2323
before_deploy:
2424
- npm run build
2525
env:

0 commit comments

Comments
 (0)