X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1a1fa82dd72465994f6cab3f00944e8a9b82312f..720eb2b9821a4147dbd124ff595e36fa2b9b45b2:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index 1ee869d..53118ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +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" -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