summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-10-04 23:22:39 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-10-04 23:23:45 +0200
commit7ffd2fecf5db76af1dfbf3025cb7be361504fd9e (patch)
tree3d2e94534d31d1d7b7bd29f90db1093becbebb39
parent0b9130fd4e0a85e9603f2eee4678a6326aaf87c4 (diff)
downloadkairos-tarpaulin.tar.gz
kairos-tarpaulin.tar.xz
Add tarpaulin configuration for stable travis jobtarpaulin
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 23d0b5b..81348bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,11 @@ dist:
language: rust
+addons:
+ apt:
+ packages:
+ - libssl-dev
+
rust:
- 1.32.0
- 1.33.0
@@ -22,6 +27,16 @@ script:
- cargo build --all --all-features --verbose -j 1
- cargo test --all --all-features --verbose -j 1
+after_success: |
+ if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
+ cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
+ fi
+
+before_cache: |
+ if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
+ cargo install cargo-tarpaulin -f
+ fi
+
cache:
cargo: true