Fix ci issue.

See https://github.com/cask/cask/issues/480.
This commit is contained in:
Vincent Zhang 2020-06-10 11:25:52 +08:00
parent 7feb79cd77
commit c8bdce0c4d

View file

@ -18,12 +18,15 @@ matrix:
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.png)|(.pdf)|(.html)|^(LICENSE)|^(docs)'; then
echo "Only doc files were updated, not running the CI."
exit
echo "Only doc files were updated, not running the CI."
exit
fi
install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- export PATH="/home/travis/.evm/bin:$PATH"
- export PATH="/home/travis/.cask/bin:$PATH"
- git clone https://github.com/rejeep/evm.git /home/travis/.evm
- evm config path /tmp
- evm install $EVM_EMACS --use --skip
- cask install