Skip to content

Commit f8c5096

Browse files
committed
Travis: run vint, build only master branch
1 parent d320933 commit f8c5096

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.travis.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1+
branches:
2+
only:
3+
- master
14
language: ruby
25
rvm:
3-
- 1.9.3
4-
before_install: sudo apt-get install vim-gtk
6+
- 1.9.3
7+
before_install:
8+
- sudo apt-get install vim-gtk
59
before_script:
6-
- "export DISPLAY=:99.0"
7-
- "sh -e /etc/init.d/xvfb start"
8-
- "bundle install"
9-
- "vim --version"
10-
script: bundle exec rspec
10+
- export DISPLAY=:99.0
11+
- sh -e /etc/init.d/xvfb start
12+
- bundle install
13+
- sudo pip install vim-vint
14+
- vim --version
15+
script:
16+
- bundle exec rspec
17+
- vint **/*.vim

0 commit comments

Comments
 (0)