Don't force-install tarpaulin; it's slow

We can instead just clear the coverage cache if we want an upgrade.
This commit is contained in:
Jon Gjengset 2019-03-18 22:25:01 -04:00
parent 63f898c4bd
commit 04d75457e8
No known key found for this signature in database
GPG key ID: F8FBEB3BC15B735B

View file

@ -81,7 +81,7 @@ jobs:
rust: nightly rust: nightly
env: CACHE_NAME=coverage env: CACHE_NAME=coverage
script: script:
- RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --force cargo-tarpaulin || true - RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin || true
- cargo tarpaulin --out Xml - cargo tarpaulin --out Xml
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
- cargo clean -p imap # ensure we don't cache build for coverage - cargo clean -p imap # ensure we don't cache build for coverage