Fix #280: Travis Build - Vim Fails To Compile

* Build broken by some gui_gtk link problem.
This commit is contained in:
Jeremy Pallats/starcraft.man 2015-09-09 06:48:22 -04:00
parent a190f4e843
commit 675b09dbfc

View file

@ -16,12 +16,12 @@ before_script: |
cd vim cd vim
if [ $(ruby -e 'puts RUBY_VERSION') = 1.9.3 ]; then if [ $(ruby -e 'puts RUBY_VERSION') = 1.9.3 ]; then
sudo apt-get install -y python2.7-dev sudo apt-get install -y python2.7-dev
./configure --with-features=huge --enable-pythoninterp ./configure --disable-gui --with-features=huge --enable-pythoninterp
elif [ $(ruby -e 'puts RUBY_VERSION') = 2.1.0 ]; then elif [ $(ruby -e 'puts RUBY_VERSION') = 2.1.0 ]; then
sudo apt-get install -y python3-dev sudo apt-get install -y python3-dev
./configure --with-features=huge --enable-python3interp ./configure --disable-gui --with-features=huge --enable-python3interp
else else
./configure --with-features=huge --enable-rubyinterp ./configure --disable-gui --with-features=huge --enable-rubyinterp
fi fi
make make
sudo make install sudo make install