From f798c4ac2849618c65b6e227021c12e4c8d94a13 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Tue, 13 Jun 2017 06:43:19 +0200 Subject: [PATCH] Enable CodeCov --- .codecov.yml | 13 +++++++++++++ .travis.yml | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..7e05d9f --- /dev/null +++ b/.codecov.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 189c1ca..ffc66da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)