Extend Travis CI build to use vim-nox on Ubuntu 12.04

This commit is contained in:
Junegunn Choi 2015-02-18 16:47:17 +09:00
parent c74fae9f8e
commit 753f7be798

View File

@ -2,14 +2,22 @@ language: ruby
rvm: rvm:
- 1.8.7 - 1.8.7
- 2.0.0 - 2.0.0
- 1.9.2 # Test with vim-nox package on ubuntu
before_script: | before_script: |
if [ $(ruby -e 'puts RUBY_VERSION') = 1.9.2 ]; then
sudo apt-get update -y
sudo apt-get install -y vim-nox
sudo ln -s /usr/bin/vim /usr/local/bin/vim
else
hg clone https://code.google.com/p/vim/ hg clone https://code.google.com/p/vim/
cd vim cd vim
./configure --with-features=huge --enable-rubyinterp ./configure --with-features=huge --enable-rubyinterp
make make
sudo make install sudo make install
cd - cd -
fi
git config --global user.email "you@example.com" git config --global user.email "you@example.com"
git config --global user.name "Your Name" git config --global user.name "Your Name"