travis updates (#4594)

* v3.16.0

* rebuild dist

* rework travis early-success trigger
This commit is contained in:
kyle
2018-05-26 00:56:12 -07:00
committed by GitHub
parent bacea7af8a
commit 1214477117

View File

@@ -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"
fi
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || { git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' || {
echo "Only docs were updated, stopping build process." echo "Only docs were updated, stopping build process."
exit exit
} }
fi
before_deploy: before_deploy:
- npm run build - npm run build
env: env: