We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bacea7a commit 1214477Copy full SHA for 1214477
.travis.yml
@@ -15,11 +15,11 @@ before_install:
15
- | # quickly pass if only documentation is being updated
16
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
17
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
+ }
22
fi
- git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || {
- echo "Only docs were updated, stopping build process."
- exit
- }
23
before_deploy:
24
- npm run build
25
env:
0 commit comments