Skip to content

Commit 4e5224b

Browse files
authored
Run vint (vim lint) as part of our Travis checks (#9)
1 parent 03e44f4 commit 4e5224b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
language: vim
1+
language: python
22
before_install: |
33
sudo apt-get -qq update
44
sudo apt-get -y install vim
5+
install:
6+
pip install vim-vint==0.3.14
7+
cache: pip
58
script:
9+
- make lint
610
- make test

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.PHONY: test
22

3-
all: test
3+
all: lint test
4+
5+
lint:
6+
vint -s after ftdetect ftplugin indent plugin syntax
47

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

0 commit comments

Comments
 (0)