Skip to content

Commit 9194ce9

Browse files
authored
Merge pull request #416 from kazukazuinaina/update_travis_yml
Add more Vim version in unit test
2 parents d534ba0 + 14301e0 commit 9194ce9

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This config is based on lightline.vim <https://github.com/itchyny/lightline.vim/blob/master/.travis.yml>
2+
13
language: ruby
24
rvm:
35
- 2.0.0
@@ -6,5 +8,24 @@ install:
68
before_script:
79
- bundle install
810
- bundle show
11+
- (if ! test -d $HOME/vim-$VIM_VERSION/bin; then
12+
git clone https://github.com/vim/vim $HOME/vim &&
13+
cd $HOME/vim &&
14+
git checkout v$VIM_VERSION &&
15+
./configure --prefix=$HOME/vim-$VIM_VERSION &&
16+
make &&
17+
make install;
18+
fi)
19+
20+
cache:
21+
directories:
22+
- $HOME/vim-$VIM_VERSION
23+
24+
env:
25+
- VIM_VERSION=8.0.0000
26+
- VIM_VERSION=7.4
27+
928
script:
29+
- export PATH=$HOME/vim-$VIM_VERSION/bin:$PATH
30+
- cd $TRAVIS_BUILD_DIR
1031
- rake ci

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
source 'https://rubygems.org'
22

3-
gem 'vim-flavor', '~> 1.1'
3+
gem 'vim-flavor', '~> 2.2.2'
44
gem 'rake'

0 commit comments

Comments
 (0)