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 5
5
6
6
matrix :
7
7
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"
20
20
21
21
install :
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
24
27
25
28
script :
26
29
- uname -a
27
30
- which -a vim
28
31
- 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
9
9
py/vimlparser.py : autoload/vimlparser.vim py/pycompiler.vim py/vimlfunc.py
10
10
$(VIM_COMPILER ) py/pycompiler.vim
11
11
12
+ clean_compiled :
13
+ $(RM ) $(COMPILED_FILES )
14
+
12
15
check : all
13
16
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.' ; \
15
18
exit 1; }
19
+
20
+ test :
21
+ test/run.sh
You can’t perform that action at this time.
0 commit comments