Files
vim-plug/.travis.yml
T

62 lines
1.5 KiB
YAML
Raw Normal View History

2019-08-16 23:46:09 -04:00
language: minimal
2015-09-11 08:57:51 -04:00
env:
2015-11-28 10:00:49 -05:00
global:
- DEPS=$HOME/deps
- PATH=$DEPS/bin:$PATH
2015-09-11 08:57:51 -04:00
matrix:
include:
2019-08-16 23:46:09 -04:00
- 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]}}
2019-08-17 16:51:07 -04:00
- env: ENV=osx-highsierra
2019-08-17 11:44:24 -04:00
os: osx
2019-08-17 16:51:07 -04:00
osx_image: xcode9.4
2015-09-11 08:57:51 -04:00
install: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
2014-06-23 12:57:46 +09:00
2015-11-28 10:00:49 -05:00
C_OPTS="--prefix=$DEPS --with-features=huge --disable-gui "
2015-09-11 08:57:51 -04:00
case "$ENV" in
2019-08-16 23:46:09 -04:00
vim-*)
2015-09-11 08:57:51 -04:00
;;
2019-08-16 23:46:09 -04:00
neovim-*)
mkdir -p ${DEPS}/bin
ln -s /usr/bin/nvim ${DEPS}/bin/vim
export VADER_OUTPUT_FILE=/dev/stderr
return
2015-09-11 08:57:51 -04:00
;;
2019-08-16 23:46:09 -04:00
vim74-* | vim80-*)
mkdir -p ${DEPS}/bin
ln -s /usr/bin/vim.nox ${DEPS}/bin/vim
return
;;
*)
return
2015-09-11 08:57:51 -04:00
;;
esac
git clone --depth 1 https://github.com/vim/vim
cd vim
2017-09-10 03:38:38 +09:00
export PATH=/usr/bin:$PATH
2015-09-11 08:57:51 -04:00
./configure $C_OPTS
make
2015-11-28 10:00:49 -05:00
make install
2015-09-11 08:57:51 -04:00
cd -
script: test/run !