Skip to content

Commit

Permalink
Merge pull request #61 from vim-jp/setup-travis
Browse files Browse the repository at this point in the history
setup travis
  • Loading branch information
koron authored Sep 7, 2016
2 parents 997d4da + ad374d8 commit b5fef4b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
sudo: false
language: c
sudo: false

install:
- git clone --depth 1 https://github.com/vim/vim.git $HOME/vim
- (cd $HOME/vim/src && ./configure --enable-gui=no && make -j 4 vim)
- $HOME/vim/src/vim --version

script:
- make test
- make test VIM=$HOME/vim/src/vim
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vim-jp/lang-ja

[![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)
[![Build Status](https://travis-ci.org/vim-jp/lang-ja.svg?branch=master)](https://travis-ci.org/vim-jp/lang-ja)

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

Expand Down
4 changes: 3 additions & 1 deletion src/po/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CHECKFILES = ja.ck \

MSGFMT = OLD_PO_FILE_INPUT=yes msgfmt

VIM = vim

.SUFFIXES: .po .mo .ck

test: check $(MOFILES)
Expand Down Expand Up @@ -57,7 +59,7 @@ clean: checkclean
$(MSGFMT) --check -v -o $@ $<

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

Expand Down

0 comments on commit b5fef4b

Please sign in to comment.