1 Star 0 Fork 0

vimer/ultisnips

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
travis_test.sh 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
Stanislav Seletskiy 提交于 2016-09-07 19:51 . change mercurial to git
#!/usr/bin/env bash
set -ex
PYTHON="python${TRAVIS_PYTHON_VERSION}"
PYTHON_CMD="$(which ${PYTHON})"
if [[ $VIM_VERSION = "74" || $VIM_VERSION = "git" ]]; then
INTERFACE="--interface tmux"
VIM="${HOME}/bin/vim"
# This is needed so that vim finds the shared libraries it was build against -
# they are not on the regular path.
export LD_LIBRARY_PATH="$($PYTHON-config --prefix)/lib"
elif [[ $VIM_VERSION == "NEOVIM" ]]; then
VIM="$(which nvim)"
if [[ $TRAVIS_PYTHON_VERSION =~ ^2\. ]]; then
INTERFACE="--interface tmux_nvim --python-host-prog=$PYTHON_CMD"
else
INTERFACE="--interface tmux_nvim --python3-host-prog=$PYTHON_CMD"
fi
else
echo "Unknown VIM_VERSION: $VIM_VERSION"
exit 1
fi
PYTHON_VERSION=$($PYTHON_CMD -c 'import sys;print(sys.version.split()[0])')
echo "Using python from: $PYTHON_CMD Version: $PYTHON_VERSION"
echo "Using vim from: $VIM. Version: $($VIMn)"
tmux new -d -s vim
$PYTHON_CMD ./test_all.py \
-v \
--plugins \
--session vim \
--vim $VIM \
$INTERFACE \
--expected-python-version $PYTHON_VERSION
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bingxuechangyaxvimer/ultisnips.git
git@gitee.com:bingxuechangyaxvimer/ultisnips.git
bingxuechangyaxvimer
ultisnips
ultisnips
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385