]> 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:

Travis: update config (#87)
[etc/vim.git] / .travis.yml
index c43dd5fd292c9244071d6954700524c433a49813..53118ab25fea29bd60d8c3f896232b1de54c21ca 100644 (file)
@@ -1,17 +1,20 @@
+language: ruby
+dist: trusty
+sudo: false
+cache: bundler
+rvm:
+  - 2.4.1
+addons:
+  apt:
+    packages:
+      - vim-gtk
 branches:
   only:
     - master
-language: ruby
-rvm:
-  - 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
-  - sudo pip install vim-vint
+  - pip install --user vim-vint
   - vim --version
+  - Xvfb :99 &
 script:
-  - bundle exec rspec
+  - VIMRUNNER_REUSE_SERVER=1 DISPLAY=:99 bundle exec rspec spec
   - vint **/*.vim