mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-13 14:03:51 -05:00
update .travis.yml: refactor Travis configuration
This commit is contained in:
26
.travis.yml
26
.travis.yml
@@ -4,19 +4,25 @@ sudo: false
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- git clone --depth=1 https://github.com/thinca/vim-themis /tmp/themis
|
- git clone --depth=1 https://github.com/thinca/vim-themis /tmp/themis
|
||||||
- git clone https://github.com/vim/vim $HOME/vim
|
- (if ! test -d $HOME/vim-$VIM_VERSION/bin; then
|
||||||
- (if ! test -d $HOME/vim-7.4/bin; then cd $HOME/vim && git checkout . && git checkout v7.4 && ./configure --prefix=$HOME/vim-7.4 && make && make install; fi)
|
git clone https://github.com/vim/vim $HOME/vim &&
|
||||||
- (if ! test -d $HOME/vim-7.3/bin; then cd $HOME/vim && git checkout . && git checkout v7.3 && ./configure --prefix=$HOME/vim-7.3 && make && make install; fi)
|
cd $HOME/vim &&
|
||||||
- (if ! test -d $HOME/vim-7.2.051/bin; then cd $HOME/vim && git checkout . && git checkout v7.2.051 && ./configure --prefix=$HOME/vim-7.2.051 && make && make install; fi)
|
git checkout v$VIM_VERSION &&
|
||||||
|
./configure --prefix=$HOME/vim-$VIM_VERSION &&
|
||||||
|
make &&
|
||||||
|
make install;
|
||||||
|
fi)
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/vim-7.4
|
- $HOME/vim-$VIM_VERSION
|
||||||
- $HOME/vim-7.3
|
|
||||||
- $HOME/vim-7.2.051
|
env:
|
||||||
|
- VIM_VERSION=8.0.0000 PATH=$HOME/vim-$VIM_VERSION/bin/:$PATH
|
||||||
|
- VIM_VERSION=7.4 PATH=$HOME/vim-$VIM_VERSION/bin/:$PATH
|
||||||
|
- VIM_VERSION=7.3 PATH=$HOME/vim-$VIM_VERSION/bin/:$PATH
|
||||||
|
- VIM_VERSION=7.2.051 PATH=$HOME/vim-$VIM_VERSION/bin/:$PATH
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- vim --version
|
||||||
- /tmp/themis/bin/themis --reporter spec
|
- /tmp/themis/bin/themis --reporter spec
|
||||||
- PATH=$HOME/vim-7.4/bin/:$PATH /tmp/themis/bin/themis --reporter spec
|
|
||||||
- PATH=$HOME/vim-7.3/bin/:$PATH /tmp/themis/bin/themis --reporter spec
|
|
||||||
- PATH=$HOME/vim-7.2.051/bin/:$PATH /tmp/themis/bin/themis --reporter spec
|
|
||||||
|
|||||||
Reference in New Issue
Block a user