1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:20:05 +08:00
SpaceVim/.ci/after_success.sh

41 lines
1.5 KiB
Bash
Raw Normal View History

2017-12-03 20:07:16 +08:00
#!/usr/bin/env bash
if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
2018-01-21 13:51:12 +08:00
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/autoload/SpaceVim/api:/API/autoload/SpaceVim/api \
-v $PWD/autoload/SpaceVim/api.vim:/API/autoload/SpaceVim/api.vim \
-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/autoload/SpaceVim/api:/API/autoload/SpaceVim/api \
-v $PWD/autoload/SpaceVim/api.vim:/API/autoload/SpaceVim/api.vim \
-v $PWD/build:/build \
spacevim/vims neovim-stable -u /.ci/common/github_commenter.vim
elif [ "$LINT" = "vader" ] ; then
echo ""
fi
else
2018-01-21 15:56:29 +08:00
if [ "$LINT" = "jekyll" ]; then
2018-01-28 14:27:06 +08:00
./wiki/async.sh "en"
./wiki/async.sh "cn"
2018-01-30 20:33:04 +08:00
git remote add gitee https://SpaceVimBot:${BOTSECRET}@gitee.com/spacevim/SpaceVim.git
git push gitee master
2020-10-11 23:44:22 +08:00
git remote add coding https://spacevim%40outlook.com:${CODINGBOTSECRET}@e.coding.net/spacevim/SpaceVim.git
2019-11-26 16:41:49 +08:00
git push coding master
.ci/detach_plugin.sh flygrep
.ci/detach_plugin.sh dein-ui
2019-07-11 19:10:44 +08:00
.ci/detach_plugin.sh vim-todo
2019-09-12 13:55:50 +08:00
.ci/detach_plugin.sh iedit
2020-09-22 23:11:37 +08:00
.ci/detach_plugin.sh scrollbar.vim
2020-03-03 21:28:16 +08:00
.ci/push_baidu.sh
2018-01-21 15:56:29 +08:00
fi
2017-12-03 20:07:16 +08:00
fi