From 66e5629b3f69ecc78bbb11ca713622ff7da3f239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 3 Apr 2020 11:25:54 +0200 Subject: [PATCH] travis: Enable coverage reports. --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.travis.yml b/.travis.yml index 77330743..5c4d157b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,11 @@ language: rust rust: stable +addons: + apt: + packages: + - libssl-dev + +cache: cargo jobs: include: @@ -7,6 +13,15 @@ jobs: dist: bionic - os: osx + - os: linux + name: Coverage + before_script: + - cargo install cargo-tarpaulin + script: + - cargo tarpaulin --features 'encryption sqlite-cryptostore' -v + after_success: + - cargo tarpaulin --out Xml + - bash <(curl -s https://codecov.io/bash) before_script: - rustup component add rustfmt