2014-08-04 16:27:06 +09:00
|
|
|
language: ruby
|
|
|
|
|
rvm:
|
|
|
|
|
- 1.8.7
|
2015-02-18 16:47:17 +09:00
|
|
|
- 1.9.2 # Test with vim-nox package on ubuntu
|
2015-02-12 11:59:50 -05:00
|
|
|
- 1.9.3 # Test against python installer
|
|
|
|
|
- 2.0.0
|
2014-06-23 12:57:46 +09:00
|
|
|
|
|
|
|
|
before_script: |
|
2015-02-18 16:47:17 +09:00
|
|
|
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
|
2015-04-08 07:16:03 -04:00
|
|
|
git clone --depth 1 https://github.com/vim/vim
|
2015-02-18 16:47:17 +09:00
|
|
|
cd vim
|
2015-02-12 11:59:50 -05:00
|
|
|
if [ $(ruby -e 'puts RUBY_VERSION') = 1.9.3 ]; then
|
|
|
|
|
sudo apt-get update -y
|
|
|
|
|
sudo apt-get install -y python2.7-dev
|
|
|
|
|
./configure --with-features=huge --enable-pythoninterp
|
|
|
|
|
else
|
|
|
|
|
./configure --with-features=huge --enable-rubyinterp
|
|
|
|
|
fi
|
2015-02-18 16:47:17 +09:00
|
|
|
make
|
|
|
|
|
sudo make install
|
|
|
|
|
cd -
|
|
|
|
|
fi
|
|
|
|
|
|
2015-01-08 23:21:32 +09:00
|
|
|
git config --global user.email "you@example.com"
|
|
|
|
|
git config --global user.name "Your Name"
|
2014-06-23 12:57:46 +09:00
|
|
|
|
|
|
|
|
script: |
|
|
|
|
|
test/run !
|