File tree Expand file tree Collapse file tree 9 files changed +35
-5
lines changed Expand file tree Collapse file tree 9 files changed +35
-5
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:
88 - env :
99 - VIM_VERSION=v7.4
1010 - MAKE_TARGET=test
11+ - TEST_PROFILE=vim-profile-v7.4.txt
1112 - env :
1213 - VIM_VERSION=v8.0.0000
1314 - MAKE_TARGET=test
15+ - TEST_PROFILE=vim-profile-v8.0.txt
1416 - env :
1517 - VIM_VERSION=master
1618 - MAKE_TARGET=test
19+ - TEST_PROFILE=vim-profile-master.txt
1720 - env :
1821 - VIM_VERSION=installed
1922 - MAKE_TARGET="clean_compiled check js/test py/test test/node_position/test_position.out"
23+ - TEST_PROFILE=vim-profile-installed.txt
2024
2125install :
2226 - |
2327 if [ "$VIM_VERSION" != 'installed' ]; then
2428 bash scripts/install-vim.sh
2529 export PATH=$HOME/vim/bin:$PATH
2630 fi
31+ - pip install covimerage --user
2732
2833script :
2934 - uname -a
3035 - which -a vim
3136 - vim --cmd version --cmd quit
3237 - 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
2626 test/run_command.sh python py/vimlparser.py
2727
2828test/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
3030 diff -u test/node_position/test_position.ok test/node_position/test_position.out
3131
3232.PHONY : all clean_compiled check test js/test py/test
Original file line number Diff line number Diff line change 11# Vim Script Parsers
22
3- [ ![ Build Status] ( https://travis-ci.org/vim-jp/vim-vimlparser.svg?branch=master )] ( https://travis-ci.org/vim-jp/vim-vimlparser )
3+ [ ![ Build Status] ( https://travis-ci.org/vim-jp/vim-vimlparser.svg?branch=master )] ( https://travis-ci.org/vim-jp/vim-vimlparser ) [ ![ codecov] ( https://codecov.io/gh/vim-jp/vim-vimlparser/branch/master/graph/badge.svg )] ( https://codecov.io/gh/vim-jp/vim-vimlparser )
4+
45
56TODO: write something.
Original file line number Diff line number Diff line change 44
55git clone --depth 1 --branch " ${VIM_VERSION} " https://github.com/vim/vim /tmp/vim
66cd /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
88make -j2
99make install
Original file line number Diff line number Diff line change 11@ echo off
2- vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " -S test/run.vim
2+ vim -Nu test/vimrc -S test/run.vim
33set EXIT = %ERRORLEVEL%
44if exist test.log type test.log
55exit /b %EXIT%
Original file line number Diff line number Diff line change 11#! /bin/sh
2- vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " -S test/run.vim
2+ vim -Nu test/vimrc -S test/run.vim
33EXIT=$?
44[ -e test.log ] && cat test.log
55exit $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