539c557680
This now only tests python2 on Vim 7.4, 8.0 and git. No Neovim (that has been broken for a long time anyways) and no longer any python3 testing. But hey, we have green tests again!
28 lines
539 B
Bash
Executable File
28 lines
539 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o verbose
|
|
|
|
cd /src/vim
|
|
|
|
if [[ $PYTHON_VERSION =~ ^2\. ]]; then
|
|
PYTHON_BUILD_CONFIG="--enable-pythoninterp"
|
|
else
|
|
PYTHON_BUILD_CONFIG="--enable-python3interp"
|
|
fi
|
|
|
|
export CFLAGS="$(python-config --cflags)"
|
|
echo $CFLAGS
|
|
./configure \
|
|
--prefix=${HOME} \
|
|
--disable-nls \
|
|
--disable-sysmouse \
|
|
--disable-gpm \
|
|
--enable-gui=no \
|
|
--enable-multibyte \
|
|
--with-features=huge \
|
|
--with-tlib=ncurses \
|
|
--without-x \
|
|
$PYTHON_BUILD_CONFIG || cat $(find . -name 'config.log')
|
|
make install
|