summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-10-04 23:17:08 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-10-04 23:23:32 +0200
commit73467cafa20f2f3dfab519c58631ec888e56bd8d (patch)
tree7c204031333ddc89b9abb9e6cb347ebdbf92eb5b
parentc1cc4c7b90f8e1f6ea1b78b287c8d3e5396ef5a6 (diff)
Add tarpaulin configuration for stable travis jobtarpaulin
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.travis.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2638a9f..ce1a481 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,10 @@
language: rust
+addons:
+ apt:
+ packages:
+ - libssl-dev
+
matrix:
fast_finish: true
allow_failures:
@@ -17,12 +22,23 @@ matrix:
- cargo fmt --all -- --check
- cargo clippy --all --all-targets
+before_cache: |
+ if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
+ cargo install cargo-tarpaulin -f
+ fi
+
cache: cargo
+
script:
- cargo build --all-features --verbose -j 1
- cargo test --all-features --verbose -j 1
+after_success: |
+ if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
+ cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
+ fi
+
notifications:
irc:
channels: