More travis

This commit is contained in:
Karl Yngve Lervåg 2016-03-27 22:23:55 +02:00
parent 8d2b6c4085
commit 9d7d848993

View File

@ -1,23 +1,23 @@
language: vim language: ruby
before_script: | before_script:
git clone https://github.com/junegunn/vader.vim.git - git clone https://github.com/junegunn/vader.vim.git
git clone https://github.com/vim/vim - git clone --depth 1 https://github.com/vim/vim
cd vim cd vim
./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp
make -j4 make -j4
sudo make install sudo make install
cd - cd -
- export PATH="/usr/local/bin:$PATH"
export LD_LIBRARY_PATH=~/.rvm/rubies/ruby-2.2.3/lib
script: | script:
export PATH="/usr/local/bin:$PATH" - vim --version
export LD_LIBRARY_PATH=~/.rvm/rubies/ruby-2.2.3/lib - vim -Nu <(cat << VIMRC
vim --version let &rtp = '.,' . &rtp
vim -Nu <(cat << VIMRC let &rtp .= ',after'
let &rtp = '.,' . &rtp let &rtp .= ',vader.vim'
let &rtp .= ',after' filetype plugin indent on
let &rtp .= ',vader.vim' syntax enable
filetype plugin indent on VIMRC) -c 'Vader! test/vader/*' > /dev/null
syntax enable
VIMRC) -c 'Vader! test/vader/*' > /dev/null