Install vim in /usr/local instead of /root inside docker.

This commit is contained in:
Holger Rapp 2018-04-01 20:51:05 +02:00
parent 6ee724a1ce
commit cd5c1fd09d
2 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,6 @@ fi
export CFLAGS="$(python-config --cflags)" export CFLAGS="$(python-config --cflags)"
echo $CFLAGS echo $CFLAGS
./configure \ ./configure \
--prefix=${HOME} \
--disable-nls \ --disable-nls \
--disable-sysmouse \ --disable-sysmouse \
--disable-gpm \ --disable-gpm \

View File

@ -3,11 +3,10 @@
set -e set -e
PYTHON_CMD="$(which python)" PYTHON_CMD="$(which python)"
INTERFACE="--interface tmux" VIM="/usr/local/bin/vim"
VIM="$HOME/bin/vim"
PYTHON_VERSION=$($PYTHON_CMD -c 'import sys;print(sys.version.split()[0])') PYTHON_VERSION=$($PYTHON_CMD -c 'import sys;print(sys.version.split()[0])')
echo "Using python from: $PYTHON_CMD Version: $PYTHON_VERSION" echo "Using python from: $PYTHON_CMD Version: $PYTHON_VERSION"
echo "Using vim from:" echo "Using vim from: $VIM"
$VIM --version | head -n 3 $VIM --version | head -n 3
set -x set -x
@ -19,5 +18,5 @@ $PYTHON_CMD ./test_all.py \
--plugins \ --plugins \
--session vim \ --session vim \
--vim $VIM \ --vim $VIM \
$INTERFACE \ --interface tmux \
--expected-python-version $PYTHON_VERSION --expected-python-version $PYTHON_VERSION