File tree 8 files changed +33
-4
lines changed
8 files changed +33
-4
lines changed Original file line number Diff line number Diff line change
1
+ coverage :
2
+ status :
3
+ project :
4
+ default :
5
+ target : 0%
6
+ patch :
7
+ default :
8
+ target : 0%
9
+
10
+ comment : false
Original file line number Diff line number Diff line change
1
+ [run]
2
+ plugins = covimerage
3
+ data_file = .coverage.covimerage
Original file line number Diff line number Diff line change @@ -8,25 +8,35 @@ matrix:
8
8
- env :
9
9
- VIM_VERSION=v7.4
10
10
- MAKE_TARGET=test
11
+ - TEST_PROFILE=vim-profile-v7.4.txt
11
12
- env :
12
13
- VIM_VERSION=v8.0.0000
13
14
- MAKE_TARGET=test
15
+ - TEST_PROFILE=vim-profile-v8.0.txt
14
16
- env :
15
17
- VIM_VERSION=master
16
18
- MAKE_TARGET=test
19
+ - TEST_PROFILE=vim-profile-master.txt
17
20
- env :
18
21
- VIM_VERSION=installed
19
22
- MAKE_TARGET="clean_compiled check js/test py/test test/node_position/test_position.out"
23
+ - TEST_PROFILE=vim-profile-installed.txt
20
24
21
25
install :
22
26
- |
23
27
if [ "$VIM_VERSION" != 'installed' ]; then
24
28
bash scripts/install-vim.sh
25
29
export PATH=$HOME/vim/bin:$PATH
26
30
fi
31
+ - pip install covimerage --user
27
32
28
33
script :
29
34
- uname -a
30
35
- which -a vim
31
36
- vim --cmd version --cmd quit
32
37
- make $MAKE_TARGET
38
+
39
+ after_success :
40
+ - covimerage write_coverage $TEST_PROFILE
41
+ - coverage xml
42
+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ py/test: py/vimlparser.py
26
26
test/run_command.sh python py/vimlparser.py
27
27
28
28
test/node_position/test_position.out : test/node_position/test_position.vim test/node_position/test_position.ok
29
- vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " -S test/node_position/test_position.vim
29
+ vim -Nu test/vimrc -S test/node_position/test_position.vim
30
30
diff -u test/node_position/test_position.ok test/node_position/test_position.out
31
31
32
32
.PHONY : all clean_compiled check test js/test py/test
Original file line number Diff line number Diff line change 4
4
5
5
git clone --depth 1 --branch " ${VIM_VERSION} " https://github.com/vim/vim /tmp/vim
6
6
cd /tmp/vim
7
- ./configure --prefix=" ${HOME} /vim" --with-features=big --enable-fail-if-missing
7
+ ./configure --prefix=" ${HOME} /vim" --with-features=huge --enable-fail-if-missing
8
8
make -j2
9
9
make install
Original file line number Diff line number Diff line change 1
1
@ echo off
2
- vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " -S test/run.vim
2
+ vim -Nu test/vimrc -S test/run.vim
3
3
set EXIT = %ERRORLEVEL%
4
4
if exist test.log type test.log
5
5
exit /b %EXIT%
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " -S test/run.vim
2
+ vim -Nu test/vimrc -S test/run.vim
3
3
EXIT=$?
4
4
[ -e test.log ] && cat test.log
5
5
exit $EXIT
Original file line number Diff line number Diff line change
1
+ let &rtp .= ' ,' . getcwd ()
2
+
3
+ if $TEST_PROFILE != ' '
4
+ execute ' profile' ' start' $TEST_PROFILE
5
+ profile ! file ./autoload/ *
6
+ endif
You can’t perform that action at this time.
0 commit comments