Enable CodeCov
This commit is contained in:
parent
890ab45105
commit
f798c4ac28
13
.codecov.yml
Normal file
13
.codecov.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Documentation: https://github.com/codecov/support/wiki/codecov.yml
|
||||
codecov:
|
||||
coverage:
|
||||
precision: 3
|
||||
round: down
|
||||
|
||||
status:
|
||||
# Learn more at https://codecov.io/docs#yaml_default_commit_status
|
||||
project: true
|
||||
patch: true
|
||||
changes: false
|
||||
|
||||
comment: false
|
|
@ -30,4 +30,6 @@ script:
|
|||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ninja -C build test -v; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) meson build && ninja -C build test; fi
|
||||
- dub build
|
||||
- dub test
|
||||
- dub test --build=unittest-cov
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
Loading…
Reference in a new issue