X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/42bd7b164647f1ff3ba899276664d63b6a882f2e..720eb2b9821a4147dbd124ff595e36fa2b9b45b2:/.travis.yml diff --git a/.travis.yml b/.travis.yml index e31bfcd..53118ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,20 @@ language: ruby +dist: trusty +sudo: false +cache: bundler rvm: - - 1.9.3 -before_install: sudo apt-get install vim-gtk + - 2.4.1 +addons: + apt: + packages: + - vim-gtk +branches: + only: + - master before_script: - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start" - - "bundle install" - - "vim --version" -script: bundle exec rspec + - pip install --user vim-vint + - vim --version + - Xvfb :99 & +script: + - VIMRUNNER_REUSE_SERVER=1 DISPLAY=:99 bundle exec rspec spec + - vint **/*.vim