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