Skip to content

Commit b5fef4b

Browse files
authored
Merge pull request #61 from vim-jp/setup-travis
setup travis
2 parents 997d4da + ad374d8 commit b5fef4b

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# vim-jp/lang-ja
22

33
[![Join the chat at https://gitter.im/vim-jp/lang-ja](https://badges.gitter.im/vim-jp/lang-ja.svg)](https://gitter.im/vim-jp/lang-ja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Build Status](https://travis-ci.org/vim-jp/lang-ja.svg?branch=master)](https://travis-ci.org/vim-jp/lang-ja)
45

56
Vimに付属する日本語翻訳ファイルを管理するリポジトリ
67

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)