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:19 UTC

[couchdb-thrift-protocol] 07/19: Update .travis.yml

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 4802b2dde0c22796ebb8d6eccefba2f723ab8735
Author: Takeru Ohta <ph...@gmail.com>
AuthorDate: Thu Oct 19 00:26:08 2017 +0900

    Update .travis.yml
---
 .travis.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a6f6418..92a44f7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,5 @@
 language: erlang
 
-sudo: false
 os: linux
 otp_release:
   - 20.0
@@ -10,13 +9,16 @@ otp_release:
 script: rebar3 eunit
 install:
   - wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
-  - pip install codecov
+  - sudo pip install codecov
 script:
   - ./rebar3 compile
   - ./rebar3 xref
   - ./rebar3 eunit
   - ./rebar3 dialyzer
   - ./rebar3 edoc
+  - ./rebar3 cover
+  - ./rebar3 covertool generate
+  - cp _build/test/covertool/thrift_protocol.covertool.xml ./cobertura.xml
 
 after_success:
   - codecov