]> git.madduck.net Git - etc/vim.git/blobdiff - .travis.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

tests: explicitly enable old "should" syntax to fix deprecation warnings (#92)
[etc/vim.git] / .travis.yml
index e31bfcd670ed9428fab9d5d08caa4d503c36fd83..53118ab25fea29bd60d8c3f896232b1de54c21ca 100644 (file)
@@ -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