Skip to content

Commit

Permalink
Run vint (vim lint) as part of our Travis checks (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise authored Sep 3, 2017
1 parent 03e44f4 commit 4e5224b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
language: vim
language: python
before_install: |
sudo apt-get -qq update
sudo apt-get -y install vim
install:
pip install vim-vint==0.3.14
cache: pip
script:
- make lint
- make test
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.PHONY: test

all: test
all: lint test

lint:
vint -s after ftdetect ftplugin indent plugin syntax

test: test/vader.vim test/vim-javascript
cd test && vim -Nu vimrc -c 'Vader! *' > /dev/null
Expand Down

0 comments on commit 4e5224b

Please sign in to comment.