-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce covimerage for test coverage #554
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
c22a7fe
Introduce covimerage for test coverage
haya14busa 6f1f57c
add .coveragerc
haya14busa ff056b3
Suppress codecov comment and status error
haya14busa 98a03be
add codecov badge
haya14busa 4c39e51
install python3 & pip in OSX
haya14busa f031907
support covimerage in Appveyor
haya14busa d7a98c5
fix shell script
haya14busa 7fda4ad
drop needless 'x'
haya14busa a04bfb0
appveyor: codecov -f coverage.xml
haya14busa 3cf013a
install python3 pip
haya14busa File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: 0% | ||
patch: | ||
default: | ||
target: 0% | ||
|
||
comment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[run] | ||
plugins = covimerage | ||
data_file = .coverage.covimerage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,21 @@ git: | |
matrix: | ||
include: | ||
- os: linux | ||
env: VIM_VERSION=v7.4 | ||
env: | ||
- VIM_VERSION=v7.4 | ||
- THEMIS_PROFILE=vim-profile-v7.4.txt | ||
- os: linux | ||
env: VIM_VERSION=v8.0.0000 | ||
env: | ||
- VIM_VERSION=v8.0.0000 | ||
- THEMIS_PROFILE=vim-profile-v8.0.txt | ||
- os: linux | ||
env: VIM_VERSION=master | ||
env: | ||
- VIM_VERSION=master | ||
- THEMIS_PROFILE=vim-profile-master.txt | ||
- os: osx | ||
osx_image: xcode8.3 | ||
env: | ||
- THEMIS_PROFILE=vim-profile-osx.txt | ||
|
||
addons: | ||
apt: | ||
|
@@ -22,6 +30,7 @@ addons: | |
- libperl-dev | ||
- python-dev | ||
- python3-dev | ||
- python3-pip | ||
- liblua5.1-0-dev | ||
- lua5.1 | ||
- ruby-dev | ||
|
@@ -30,6 +39,9 @@ install: | |
- rvm reset | ||
- bash scripts/install-vim.sh | ||
- export PATH=$HOME/vim/bin:$PATH | ||
# Install https://github.com/Vimjas/covimerage | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then brew install python3 ; fi | ||
- pip3 install covimerage --user | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pip3 は Linux ワーカーにないっぽい https://travis-ci.org/vim-jp/vital.vim/jobs/306686068 |
||
|
||
before_script: | ||
- git clone --depth 1 --branch v1.5.3 --single-branch https://github.com/thinca/vim-themis /tmp/vim-themis | ||
|
@@ -44,6 +56,12 @@ script: | |
# - /tmp/vim-themis/bin/themis --runtimepath /tmp/vimproc --reporter dot | ||
- /tmp/vim-themis/bin/themis --runtimepath /tmp/vimproc --exclude ConcurrentProcess --reporter dot | ||
- ruby scripts/check-changelog.rb | ||
|
||
after_success: | ||
- covimerage write_coverage $THEMIS_PROFILE | ||
- coverage xml | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
themis.vim に直接関係がある変数じゃないので
THEMIS_
プレフィックスは要らないかも?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
themis で実行するときのprofileファイルの指定なのであったほうがいいと思います
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
公式っぽすぎてややこしそうという話はある
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
うーむ.了解です.