You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/11/19 18:23:21 UTC

[couchdb-thrift-protocol] 09/19: Add covertool

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-thrift-protocol.git

commit 8b26cc2ddf2eb8a8596ca059853c2d196ceefaca
Author: Takeru Ohta <ph...@gmail.com>
AuthorDate: Thu Oct 19 01:00:53 2017 +0900

    Add covertool
---
 .travis.yml  | 3 +++
 rebar.config | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 0f5fbfd..92a44f7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,9 @@ script:
   - ./rebar3 eunit
   - ./rebar3 dialyzer
   - ./rebar3 edoc
+  - ./rebar3 cover
+  - ./rebar3 covertool generate
+  - cp _build/test/covertool/thrift_protocol.covertool.xml ./cobertura.xml
 
 after_success:
   - codecov
diff --git a/rebar.config b/rebar.config
index a1eda38..50acdc0 100644
--- a/rebar.config
+++ b/rebar.config
@@ -27,6 +27,8 @@
 
 {shell, [{apps, [thrift_protocol]}]}.
 
+{plugins, [rebar_covertool]}.
+
 {dialyzer,
  [
   {warnings, [error_handling, race_conditions, unmatched_returns, unknown, no_improper_lists]}