Files
vim-plug/.travis.yml
T

71 lines
1.6 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
2020-07-06 01:07:42 -04:00
jobs:
2015-09-11 08:57:51 -04:00
include:
2019-08-16 23:46:09 -04:00
- env: ENV=vim80-bionic
dist: bionic
2020-07-06 01:07:42 -04:00
stage: vim8
2019-08-16 23:46:09 -04:00
- env: ENV=vim-nightly
dist: trusty
2020-07-06 01:07:42 -04:00
stage: vim8
2019-08-16 23:46:09 -04:00
- env: ENV=neovim-stable
2020-09-08 17:27:20 +09:00
dist: bionic
2019-08-16 23:46:09 -04:00
addons: {apt: {packages: [neovim], sources: [{sourceline: 'ppa:neovim-ppa/stable'}]}}
2020-07-06 01:07:42 -04:00
stage: neovim
2019-08-16 23:46:09 -04:00
- env: ENV=neovim-nightly
2020-09-08 17:27:20 +09:00
dist: bionic
2019-08-16 23:46:09 -04:00
addons: {apt: {packages: [neovim], sources: [{sourceline: 'ppa:neovim-ppa/unstable'}]}}
2020-07-06 01:07:42 -04:00
stage: neovim
2019-08-16 23:46:09 -04:00
- env: ENV=vim74-trusty-python
dist: trusty
2020-07-06 01:07:42 -04:00
stage: vim74
2019-08-16 23:46:09 -04:00
- env: ENV=vim74-xenial-python3
dist: xenial
2020-07-06 01:07:42 -04:00
stage: vim74
2019-08-16 23:46:09 -04:00
- env: ENV=vim74-trusty-ruby
dist: trusty
addons: {apt: {packages: [vim-nox]}}
2020-07-06 01:07:42 -04:00
stage: vim74
2019-08-16 23:46:09 -04:00
- env: ENV=vim74-xenial-ruby
dist: xenial
addons: {apt: {packages: [vim-nox]}}
2020-07-06 01:07:42 -04:00
stage: vim74
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
2020-07-06 01:07:42 -04:00
stage: vim8
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 !