Merge pull request #2034 from kazukazuinaina/update_ci

update .travis.yml
This commit is contained in:
Christian Brabandt 2019-12-30 21:37:58 +01:00 committed by GitHub
commit 3d0f51152a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 2 deletions

View File

@ -1,8 +1,31 @@
# This config is based on lightline.vim <https://github.com/itchyny/lightline.vim/blob/master/.travis.yml>
language: ruby
before_install:
- curl -f -L "https://raw.githubusercontent.com/vim-airline/vim-airline-themes/master/autoload/airline/themes/simple.vim" -o autoload/airline/themes/simple.vim
- curl -f -L "https://raw.githubusercontent.com/vim-airline/vim-airline-themes/master/autoload/airline/themes/molokai.vim" -o autoload/airline/themes/molokai.vim
- mkdir colors && curl -f -L 'https://raw.githubusercontent.com/tomasr/molokai/master/colors/molokai.vim' -o colors/molokai.vim
- (if ! test -d $HOME/vim-$VIM_VERSION/bin; then
git clone https://github.com/vim/vim $HOME/vim &&
cd $HOME/vim &&
git checkout v$VIM_VERSION &&
./configure --prefix=$HOME/vim-$VIM_VERSION &&
make &&
make install;
fi)
#rvm:
# - 1.9.3
script: rake ci
cache:
directories:
- $HOME/vim-$VIM_VERSION
env:
- VIM_VERSION=8.2.0000
- VIM_VERSION=8.1.0000
- VIM_VERSION=8.0.0000
- VIM_VERSION=7.4
script:
- export PATH=$HOME/vim-$VIM_VERSION/bin:$PATH
- cd $TRAVIS_BUILD_DIR
- rake ci

View File

@ -1,2 +1,2 @@
source 'https://rubygems.org'
gem 'vim-flavor', '~> 1.1'
gem 'vim-flavor', '~> 2.2.2'