mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
63 lines
1.5 KiB
YAML
63 lines
1.5 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]}}
|
|
- env: ENV=osx-highsierra
|
|
os: osx
|
|
osx_image: xcode9.4
|
|
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 !
|