diff options
-rw-r--r-- | .travis.yml | 16 |
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: |