Not triggering CI if only docs are updated.

This commit is contained in:
Vincent Zhang 2019-11-23 17:38:27 +08:00
parent d646a1f1da
commit 759f30ee8b
2 changed files with 10 additions and 4 deletions

View file

@ -16,10 +16,16 @@ matrix:
- env: EVM_EMACS=emacs-git-snapshot-travis-linux-xenial
before_install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- evm install $EVM_EMACS --use --skip
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.png)|(.pdf)|(.html)|^(LICENSE)|^(docs)'
then
echo "Not running CI since only docs were changed."
exit
fi
install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- evm install $EVM_EMACS --use --skip
- cask install
script:

View file

@ -393,7 +393,7 @@ Run `M-x customize-group RET doom-modeline RET` or set the variables.
## Donate
If you think it's helpful for you, please consider pay a cup of coffee for me. Thank you! :smile:
If you think it's helpful for you, please consider paying a cup of coffee for me. Thank you! :smile:
<img
src="https://user-images.githubusercontent.com/140797/65818854-44204900-e248-11e9-9cc5-3e6339587cd8.png"
@ -406,5 +406,5 @@ alt="Wechat Pay" width="120"/>
<a href="https://paypal.me/seagle0128" target="_blank">
<img
src="https://www.paypalobjects.com/digitalassets/c/website/marketing/apac/C2/logos-buttons/optimize/Online_Primary_Acceptance_Mark_RGB_V2_medium.jpg"
alt="Paypal"/>
alt="PayPal"/>
</a>