travis: Enable coverage reports.
parent
294ca108bb
commit
66e5629b3f
15
.travis.yml
15
.travis.yml
|
@ -1,5 +1,11 @@
|
||||||
language: rust
|
language: rust
|
||||||
rust: stable
|
rust: stable
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
|
||||||
|
cache: cargo
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
@ -7,6 +13,15 @@ jobs:
|
||||||
dist: bionic
|
dist: bionic
|
||||||
|
|
||||||
- os: osx
|
- 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:
|
before_script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
|
|
Loading…
Reference in New Issue