Skip to content

Commit 6c6b94d

Browse files
committed
check by latest vim
1 parent 997d4da commit 6c6b94d

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
sudo: false
1+
language: c
2+
sudo: false
3+
4+
install:
5+
- git clone --depth 1 https://github.com/vim/vim.git $HOME/vim
6+
- (cd $HOME/vim/src && ./configure --enable-gui=no && make -j 4 vim)
7+
- $HOME/vim/src/vim --version
28

39
script:
4-
- make test
10+
- make test VIM=$HOME/vim/src/vim

src/po/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ CHECKFILES = ja.ck \
1010

1111
MSGFMT = OLD_PO_FILE_INPUT=yes msgfmt
1212

13+
VIM = vim
14+
1315
.SUFFIXES: .po .mo .ck
1416

1517
test: check $(MOFILES)
@@ -57,7 +59,7 @@ clean: checkclean
5759
$(MSGFMT) --check -v -o $@ $<
5860

5961
.po.ck:
60-
vim -u NONE --noplugins -e -s -X --cmd "set enc=utf-8" -S check.vim \
62+
$(VIM) -u NONE --noplugins -e -s -X --cmd "set enc=utf-8" -S check.vim \
6163
-c "if error == 0 | q | else | num 2 | cq | endif" $<
6264
touch $@
6365

0 commit comments

Comments
 (0)