]> 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: run vint, build only master branch
[etc/vim.git] / .travis.yml
index e31bfcd670ed9428fab9d5d08caa4d503c36fd83..c43dd5fd292c9244071d6954700524c433a49813 100644 (file)
@@ -1,10 +1,17 @@
+branches:
+  only:
+    - master
 language: ruby
 rvm:
 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:
 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