Skip to content

Commit d91d0f2

Browse files
committed
travis: test by usign other pugins
1 parent a7052c4 commit d91d0f2

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ before_script:
44
- git clone https://github.com/thinca/vim-themis --branch v1.4 --depth 1 /tmp/vim-themis
55
- vim --version
66

7+
- git clone https://github.com/vim-jp/vital.vim.git /tmp/vital.vim
8+
- git clone https://github.com/thinca/vim-quickrun.git /tmp/quickrun
9+
- git clone https://github.com/Shougo/neocomplete.vim.git /tmp/neocom
10+
- git clone https://github.com/easymotion/vim-easymotion.git /tmp/em
11+
- git clone https://github.com/tpope/vim-fugitive /tmp/fug
12+
- git clone https://github.com/scrooloose/syntastic /tmp/syntastic
13+
- git clone https://github.com/itchyny/lightline.vim.git /tmp/ll
14+
- git clone https://github.com/ctrlpvim/ctrlp.vim /tmp/cp
15+
- git clone https://github.com/vim-airline/vim-airline.git /tmp/al
16+
717
script:
818
- rm -f /tmp/vimlint_test.log
919
- vim -c 'set rtp+=.,/tmp/vimlparser' -c 'source test/vimlint-test.vim' -c 'call Vimlint_test("test", "/tmp/vimlint_test.log")' -c 'qall!'
@@ -13,3 +23,16 @@ script:
1323
- sh ./bin/vimlint.sh -p /tmp/vimlparser -v autoload
1424
- sh ./test/err.sh -p /tmp/vimlparser test/test-ok.vim test/test-ng.vim
1525
- /tmp/vim-themis/bin/themis themis
26+
27+
28+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 /tmp/vital.vim/autoload
29+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 /tmp/quickrun/autoload
30+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 /tmp/neocom/autoload
31+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 /tmp/em/autoload
32+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 /tmp/fug/plugin
33+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 /tmp/syntastic/autoload /tmp/syntastic/plugin
34+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 /tmp/ll/autoload
35+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 /tmp/cp/autoload /tmp/cp/plugin
36+
- sh ./bin/vimlint.sh -X -p /tmp/vimlparser -e EVL103=1 -e EVL102.l:_=1 /tmp/al/autoload /tmp/al/plugin
37+
38+

bin/vimlint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ VOPT="-c 'set rtp+=`pwd`'"
3434
echo "call has_key(g:, \"vimlint#config\") | let g:vimlint#config = {}" > ${VF}
3535
echo "let g:vimlint#config.quiet = 1" >> ${VF}
3636
ERRGREP='Error|Warning'
37-
while getopts 'hl:p:ue:vc:E' OPT; do
37+
while getopts 'hl:p:ue:vc:EX' OPT; do
3838
case "$OPT" in
3939
p)
4040
if [ ! -f "${OPTARG}/autoload/vimlparser.vim" ]; then
@@ -52,6 +52,8 @@ while getopts 'hl:p:ue:vc:E' OPT; do
5252
VOPT="$VOPT -u NONE -i NONE" ;;
5353
E)
5454
ERRGREP='Error' ;;
55+
X)
56+
ERRGREP='vimlint#vimlint' ;; # Exception
5557
e)
5658
if [ `echo ${OPTARG} | grep '^EVL[0-9]\+=[135]$' | wc -l` = 1 ]; then
5759
E=`echo ${OPTARG} | sed 's/=.*//'`

0 commit comments

Comments
 (0)