From: Daniel Hahler Date: Sat, 29 Jul 2017 12:50:37 +0000 (+0200) Subject: Travis: run vint, build only master branch X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/f8c5096fa2bf656035f5b61cce1f4007cac35df5?ds=inline;hp=-c;pf=etc Travis: run vint, build only master branch --- f8c5096fa2bf656035f5b61cce1f4007cac35df5 diff --git a/.travis.yml b/.travis.yml index e31bfcd..c43dd5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,17 @@ +branches: + only: + - master language: ruby rvm: - - 1.9.3 -before_install: sudo apt-get install vim-gtk + - 1.9.3 +before_install: + - sudo apt-get install vim-gtk before_script: - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start" - - "bundle install" - - "vim --version" -script: bundle exec rspec + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start + - bundle install + - sudo pip install vim-vint + - vim --version +script: + - bundle exec rspec + - vint **/*.vim