1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 10:20:04 +08:00
SpaceVim/.ci/after_success.sh
2017-12-03 20:07:16 +08:00

22 lines
762 B
Bash
Executable File

#!/usr/bin/env bash
if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
if [ "$LINT" = "vimlint-errors" ] ; then
VIMLINT_LOG=""
git clone https://github.com/wsdjeg/GitHub.vim.git build/GitHub.vim
docker run -it --rm \
-v $PWD/.ci:/.ci \
-v $PWD/build:/build \
spacevim/vims neovim-stable -u .ci/common/github_commenter.vim
elif [ "$LINT" = "vint-errors" ] ; then
VIMLINT_LOG=""
git clone https://github.com/wsdjeg/GitHub.vim.git build/GitHub.vim
docker run -it --rm \
-v $PWD/.ci:/.ci \
-v $PWD/build:/build \
spacevim/vims neovim-stable -u .ci/common/github_commenter.vim
elif [ "$LINT" = "vader" ] ; then
echo ""
fi
fi