.travis.yml 804 B

1234567891011121314151617181920212223242526272829303132
  1. language: ruby
  2. rvm:
  3. - 1.8.7
  4. - 1.9.2 # Test with vim-nox package on ubuntu
  5. - 1.9.3 # Test against python installer
  6. - 2.0.0
  7. before_script: |
  8. if [ $(ruby -e 'puts RUBY_VERSION') = 1.9.2 ]; then
  9. sudo apt-get update -y
  10. sudo apt-get install -y vim-nox
  11. sudo ln -s /usr/bin/vim /usr/local/bin/vim
  12. else
  13. hg clone https://code.google.com/p/vim/
  14. cd vim
  15. if [ $(ruby -e 'puts RUBY_VERSION') = 1.9.3 ]; then
  16. sudo apt-get update -y
  17. sudo apt-get install -y python2.7-dev
  18. ./configure --with-features=huge --enable-pythoninterp
  19. else
  20. ./configure --with-features=huge --enable-rubyinterp
  21. fi
  22. make
  23. sudo make install
  24. cd -
  25. fi
  26. git config --global user.email "you@example.com"
  27. git config --global user.name "Your Name"
  28. script: |
  29. test/run !