summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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