2018-03-31 18:56:34 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
PYTHON_CMD="$(which python)"
|
2018-04-01 14:51:05 -04:00
|
|
|
VIM="/usr/local/bin/vim"
|
2018-03-31 18:56:34 -04:00
|
|
|
PYTHON_VERSION=$($PYTHON_CMD -c 'import sys;print(sys.version.split()[0])')
|
|
|
|
echo "Using python from: $PYTHON_CMD Version: $PYTHON_VERSION"
|
2018-04-01 14:51:05 -04:00
|
|
|
echo "Using vim from: $VIM"
|
2018-03-31 18:56:34 -04:00
|
|
|
$VIM --version | head -n 3
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
tmux new -d -s vim
|
|
|
|
|
|
|
|
$PYTHON_CMD ./test_all.py \
|
|
|
|
-v \
|
|
|
|
--plugins \
|
|
|
|
--session vim \
|
|
|
|
--vim $VIM \
|
2018-04-01 14:51:05 -04:00
|
|
|
--interface tmux \
|
2018-03-31 18:56:34 -04:00
|
|
|
--expected-python-version $PYTHON_VERSION
|