307b0f244d
Travis defaults to it since this year. Ubuntu trusty reached EOL since April 2019. Ubuntu bionic provides Vim 8. Simplify OS install with Travis' apt addon so that only Vim nightly will be compiled from source. Ubuntu 14.04.6 provides ruby v.1.9.3, not 1.8.x or older. Use it to test the ruby provider for backward compatibility. Signed-off-by: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
language: minimal
|
|
env:
|
|
global:
|
|
- DEPS=$HOME/deps
|
|
- PATH=$DEPS/bin:$PATH
|
|
matrix:
|
|
include:
|
|
- env: ENV=vim80-bionic
|
|
dist: bionic
|
|
- env: ENV=vim-nightly
|
|
dist: trusty
|
|
- env: ENV=neovim-stable
|
|
dist: xenial
|
|
addons: {apt: {packages: [neovim], sources: [{sourceline: 'ppa:neovim-ppa/stable'}]}}
|
|
- env: ENV=neovim-nightly
|
|
dist: xenial
|
|
addons: {apt: {packages: [neovim], sources: [{sourceline: 'ppa:neovim-ppa/unstable'}]}}
|
|
- env: ENV=vim74-trusty-python
|
|
dist: trusty
|
|
- env: ENV=vim74-xenial-python3
|
|
dist: xenial
|
|
- env: ENV=vim74-trusty-ruby
|
|
dist: trusty
|
|
addons: {apt: {packages: [vim-nox]}}
|
|
- env: ENV=vim74-xenial-ruby
|
|
dist: xenial
|
|
addons: {apt: {packages: [vim-nox]}}
|
|
install: |
|
|
git config --global user.email "you@example.com"
|
|
git config --global user.name "Your Name"
|
|
|
|
C_OPTS="--prefix=$DEPS --with-features=huge --disable-gui "
|
|
case "$ENV" in
|
|
vim-*)
|
|
;;
|
|
neovim-*)
|
|
mkdir -p ${DEPS}/bin
|
|
ln -s /usr/bin/nvim ${DEPS}/bin/vim
|
|
export VADER_OUTPUT_FILE=/dev/stderr
|
|
return
|
|
;;
|
|
vim74-* | vim80-*)
|
|
mkdir -p ${DEPS}/bin
|
|
ln -s /usr/bin/vim.nox ${DEPS}/bin/vim
|
|
return
|
|
;;
|
|
*)
|
|
return
|
|
;;
|
|
esac
|
|
|
|
git clone --depth 1 https://github.com/vim/vim
|
|
cd vim
|
|
export PATH=/usr/bin:$PATH
|
|
./configure $C_OPTS
|
|
make
|
|
make install
|
|
cd -
|
|
script: test/run !
|