2019-08-17 05:46:09 +02:00
|
|
|
language: minimal
|
2015-09-11 14:57:51 +02:00
|
|
|
env:
|
2015-11-28 16:00:49 +01:00
|
|
|
global:
|
|
|
|
- DEPS=$HOME/deps
|
|
|
|
- PATH=$DEPS/bin:$PATH
|
2020-07-06 07:07:42 +02:00
|
|
|
jobs:
|
2015-09-11 14:57:51 +02:00
|
|
|
include:
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=vim80-bionic
|
|
|
|
dist: bionic
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim8
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=vim-nightly
|
|
|
|
dist: trusty
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim8
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=neovim-stable
|
|
|
|
dist: xenial
|
|
|
|
addons: {apt: {packages: [neovim], sources: [{sourceline: 'ppa:neovim-ppa/stable'}]}}
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: neovim
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=neovim-nightly
|
|
|
|
dist: xenial
|
|
|
|
addons: {apt: {packages: [neovim], sources: [{sourceline: 'ppa:neovim-ppa/unstable'}]}}
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: neovim
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=vim74-trusty-python
|
|
|
|
dist: trusty
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim74
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=vim74-xenial-python3
|
|
|
|
dist: xenial
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim74
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=vim74-trusty-ruby
|
|
|
|
dist: trusty
|
|
|
|
addons: {apt: {packages: [vim-nox]}}
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim74
|
2019-08-17 05:46:09 +02:00
|
|
|
- env: ENV=vim74-xenial-ruby
|
|
|
|
dist: xenial
|
|
|
|
addons: {apt: {packages: [vim-nox]}}
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim74
|
2019-08-17 22:51:07 +02:00
|
|
|
- env: ENV=osx-highsierra
|
2019-08-17 17:44:24 +02:00
|
|
|
os: osx
|
2019-08-17 22:51:07 +02:00
|
|
|
osx_image: xcode9.4
|
2020-07-06 07:07:42 +02:00
|
|
|
stage: vim8
|
2015-09-11 14:57:51 +02:00
|
|
|
install: |
|
|
|
|
git config --global user.email "you@example.com"
|
|
|
|
git config --global user.name "Your Name"
|
|
|
|
|
2015-11-28 16:00:49 +01:00
|
|
|
C_OPTS="--prefix=$DEPS --with-features=huge --disable-gui "
|
2015-09-11 14:57:51 +02:00
|
|
|
case "$ENV" in
|
2019-08-17 05:46:09 +02:00
|
|
|
vim-*)
|
|
|
|
;;
|
|
|
|
neovim-*)
|
|
|
|
mkdir -p ${DEPS}/bin
|
|
|
|
ln -s /usr/bin/nvim ${DEPS}/bin/vim
|
|
|
|
export VADER_OUTPUT_FILE=/dev/stderr
|
|
|
|
return
|
2015-09-11 14:57:51 +02:00
|
|
|
;;
|
2019-08-17 05:46:09 +02:00
|
|
|
vim74-* | vim80-*)
|
|
|
|
mkdir -p ${DEPS}/bin
|
|
|
|
ln -s /usr/bin/vim.nox ${DEPS}/bin/vim
|
|
|
|
return
|
2015-09-11 14:57:51 +02:00
|
|
|
;;
|
2019-08-17 05:46:09 +02:00
|
|
|
*)
|
|
|
|
return
|
2015-09-11 14:57:51 +02:00
|
|
|
;;
|
|
|
|
esac
|
2014-06-23 05:57:46 +02:00
|
|
|
|
2015-09-11 14:57:51 +02:00
|
|
|
git clone --depth 1 https://github.com/vim/vim
|
|
|
|
cd vim
|
2017-09-09 20:38:38 +02:00
|
|
|
export PATH=/usr/bin:$PATH
|
2015-09-11 14:57:51 +02:00
|
|
|
./configure $C_OPTS
|
|
|
|
make
|
2015-11-28 16:00:49 +01:00
|
|
|
make install
|
2015-09-11 14:57:51 +02:00
|
|
|
cd -
|
|
|
|
script: test/run !
|