travis updates (#4594)
* v3.16.0 * rebuild dist * rework travis early-success trigger
This commit is contained in:
@@ -15,11 +15,11 @@ before_install:
|
|||||||
- | # quickly pass if only documentation is being updated
|
- | # quickly pass if only documentation is being updated
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||||
TRAVIS_COMMIT_RANGE="FETCH_HEAD...$TRAVIS_BRANCH"
|
TRAVIS_COMMIT_RANGE="FETCH_HEAD...$TRAVIS_BRANCH"
|
||||||
|
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || {
|
||||||
|
echo "Only docs were updated, stopping build process."
|
||||||
|
exit
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || {
|
|
||||||
echo "Only docs were updated, stopping build process."
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- npm run build
|
- npm run build
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user