2014-08-04 00:27:06 -07:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
|
|
|
- 1.8.7
|
2015-02-12 09:59:50 -07:00
|
|
|
- 2.0.0
|
2015-09-11 05:57:51 -07:00
|
|
|
env:
|
|
|
|
- ENV=nox
|
|
|
|
- ENV=python
|
|
|
|
- ENV=python3
|
|
|
|
- ENV=ruby
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- rvm: 2.0.0
|
|
|
|
include:
|
|
|
|
- rvm: 2.0.0
|
|
|
|
env: ENV=ruby
|
|
|
|
install: |
|
|
|
|
git config --global user.email "you@example.com"
|
|
|
|
git config --global user.name "Your Name"
|
2015-04-07 20:04:57 -07:00
|
|
|
sudo apt-get update -y
|
2015-09-11 05:57:51 -07:00
|
|
|
|
|
|
|
if [ "$ENV" == "nox" ]; then
|
2015-02-18 00:47:17 -07:00
|
|
|
sudo apt-get install -y vim-nox
|
|
|
|
sudo ln -s /usr/bin/vim /usr/local/bin/vim
|
2015-09-11 05:57:51 -07:00
|
|
|
return
|
2015-02-18 00:47:17 -07:00
|
|
|
fi
|
|
|
|
|
2015-09-11 05:57:51 -07:00
|
|
|
C_OPTS="--with-features=huge --disable-gui "
|
|
|
|
case "$ENV" in
|
|
|
|
python)
|
|
|
|
PACKS=python2.7-dev
|
|
|
|
C_OPtS+=--enable-pythoninterp
|
|
|
|
;;
|
|
|
|
python3)
|
|
|
|
PACKS=python3-dev
|
|
|
|
C_OPtS+=--enable-python3interp
|
|
|
|
;;
|
|
|
|
ruby)
|
|
|
|
C_OPTS+=--enable-rubyinterp
|
|
|
|
;;
|
|
|
|
esac
|
2014-06-22 20:57:46 -07:00
|
|
|
|
2015-09-11 05:57:51 -07:00
|
|
|
sudo apt-get install -y $PACKS
|
|
|
|
git clone --depth 1 https://github.com/vim/vim
|
|
|
|
cd vim
|
|
|
|
./configure $C_OPTS
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
cd -
|
|
|
|
script: test/run !
|