File tree Expand file tree Collapse file tree 2 files changed +25
-17
lines changed
Expand file tree Collapse file tree 2 files changed +25
-17
lines changed Original file line number Diff line number Diff line change 55
66matrix :
77 include :
8- - os : linux
9- env : VIM_VERSION=v7.4
10- - os : linux
11- env : VIM_VERSION=v8.0.0000
12- - os : linux
13- env : VIM_VERSION=master
14-
15- addons :
16- apt :
17- packages :
18- - language-pack-ja
19- - vim
8+ - env :
9+ - VIM_VERSION=v7.4
10+ - MAKE_TARGET=test
11+ - env :
12+ - VIM_VERSION=v8.0.0000
13+ - MAKE_TARGET=test
14+ - env :
15+ - VIM_VERSION=master
16+ - MAKE_TARGET=test
17+ - env :
18+ - VIM_VERSION=installed
19+ - MAKE_TARGET="clean_compiled check"
2020
2121install :
22- - bash scripts/install-vim.sh
23- - export PATH=$HOME/vim/bin:$PATH
22+ - |
23+ if [ "$VIM_VERSION" != 'installed' ]; then
24+ bash scripts/install-vim.sh
25+ export PATH=$HOME/vim/bin:$PATH
26+ fi
2427
2528script :
2629 - uname -a
2730 - which -a vim
2831 - vim --cmd version --cmd quit
29- - test/run.sh
30- - make check
32+ - make $MAKE_TARGET
Original file line number Diff line number Diff line change @@ -9,7 +9,13 @@ js/vimlparser.js: autoload/vimlparser.vim js/jscompiler.vim js/vimlfunc.js
99py/vimlparser.py : autoload/vimlparser.vim py/pycompiler.vim py/vimlfunc.py
1010 $(VIM_COMPILER ) py/pycompiler.vim
1111
12+ clean_compiled :
13+ $(RM ) $(COMPILED_FILES )
14+
1215check : all
1316 git diff --exit-code $(COMPILED_FILES ) || { \
14- echo ' Compiled files were updated, but should have been committed.' ; \
17+ echo ' Compiled files were updated, but should have been included/ committed.' ; \
1518 exit 1; }
19+
20+ test :
21+ test/run.sh
You can’t perform that action at this time.
0 commit comments