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