diff --git a/.travis.yml b/.travis.yml index 604e8ea..23143cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,24 @@ language: ruby +os: + - linux + +install: + - sudo add-apt-repository -y ppa:fcwu-tw/ppa && + - sudo apt-get -qq update && + - sudo apt-get -qq -f install && + - sudo apt-get -qq install vim; + before_script: - git clone https://github.com/junegunn/vader.vim.git - - git clone --depth 1 https://github.com/vim/vim - cd vim - ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp - make -j4 - sudo make install - cd - - - export PATH="/usr/local/bin:$PATH" - export LD_LIBRARY_PATH=~/.rvm/rubies/ruby-2.2.3/lib script: - vim --version - vim -Nu <(cat << VIMRC - let &rtp = '.,' . &rtp - let &rtp .= ',after' - let &rtp .= ',vader.vim' - filetype plugin indent on - syntax enable - VIMRC) -c 'Vader! test/vader/*' > /dev/null + - let &rtp = '.,' . &rtp + - let &rtp .= ',after' + - let &rtp .= ',vader.vim' + - filetype plugin indent on + - syntax enable + - VIMRC) -c 'Vader! test/vader/*' > /dev/null