change mercurial to git
This commit is contained in:
parent
8d77e89d65
commit
7549874758
@ -6,7 +6,7 @@ python:
|
|||||||
- 3.4
|
- 3.4
|
||||||
env:
|
env:
|
||||||
- VIM_VERSION="74"
|
- VIM_VERSION="74"
|
||||||
- VIM_VERSION="mercurial"
|
- VIM_VERSION="git"
|
||||||
# - VIM_VERSION="NEOVIM"
|
# - VIM_VERSION="NEOVIM"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@ -14,7 +14,7 @@ install:
|
|||||||
- until sudo add-apt-repository ppa:kalakris/tmux -y; do sleep 10; done
|
- until sudo add-apt-repository ppa:kalakris/tmux -y; do sleep 10; done
|
||||||
- until sudo add-apt-repository ppa:neovim-ppa/unstable -y; do sleep 10; done
|
- until sudo add-apt-repository ppa:neovim-ppa/unstable -y; do sleep 10; done
|
||||||
- until sudo apt-get update -qq; do sleep 10; done
|
- until sudo apt-get update -qq; do sleep 10; done
|
||||||
- until sudo apt-get install -qq -y --force-yes tmux xclip gdb neovim mercurial; do sleep 10; done
|
- until sudo apt-get install -qq -y --force-yes tmux xclip gdb neovim git; do sleep 10; done
|
||||||
- ./travis_install.sh
|
- ./travis_install.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -14,8 +14,8 @@ build_vanilla_vim () {
|
|||||||
until curl ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 -o vim.tar.bz2; do sleep 10; done
|
until curl ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 -o vim.tar.bz2; do sleep 10; done
|
||||||
tar xjf vim.tar.bz2
|
tar xjf vim.tar.bz2
|
||||||
cd vim${VIM_VERSION}
|
cd vim${VIM_VERSION}
|
||||||
elif [[ $VIM_VERSION == "mercurial" ]]; then
|
elif [[ $VIM_VERSION == "git" ]]; then
|
||||||
hg clone https://vim.googlecode.com/hg/ vim
|
git clone https://github.com/vim/vim
|
||||||
cd vim
|
cd vim
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ build_vanilla_vim () {
|
|||||||
rm -rf vim_build
|
rm -rf vim_build
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $VIM_VERSION = "74" || $VIM_VERSION = "mercurial" ]]; then
|
if [[ $VIM_VERSION = "74" || $VIM_VERSION = "git" ]]; then
|
||||||
build_vanilla_vim
|
build_vanilla_vim
|
||||||
elif [[ $VIM_VERSION == "NEOVIM" ]]; then
|
elif [[ $VIM_VERSION == "NEOVIM" ]]; then
|
||||||
PIP=$(which pip)
|
PIP=$(which pip)
|
||||||
|
@ -5,7 +5,7 @@ set -ex
|
|||||||
PYTHON="python${TRAVIS_PYTHON_VERSION}"
|
PYTHON="python${TRAVIS_PYTHON_VERSION}"
|
||||||
PYTHON_CMD="$(which ${PYTHON})"
|
PYTHON_CMD="$(which ${PYTHON})"
|
||||||
|
|
||||||
if [[ $VIM_VERSION = "74" || $VIM_VERSION = "mercurial" ]]; then
|
if [[ $VIM_VERSION = "74" || $VIM_VERSION = "git" ]]; then
|
||||||
INTERFACE="--interface tmux"
|
INTERFACE="--interface tmux"
|
||||||
VIM="${HOME}/bin/vim"
|
VIM="${HOME}/bin/vim"
|
||||||
# This is needed so that vim finds the shared libraries it was build against -
|
# This is needed so that vim finds the shared libraries it was build against -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user