Enable CodeCov

This commit is contained in:
Sebastian Wilzbach 2017-06-13 06:43:19 +02:00 committed by Petar Kirov
parent 890ab45105
commit f798c4ac28
2 changed files with 16 additions and 1 deletions

13
.codecov.yml Normal file
View 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

View file

@ -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)