Move code coverage from Travis CI to Actions

This commit is contained in:
Jack Grigg
2019-11-07 18:16:27 +00:00
parent 7be66ad8f8
commit bb39037798
2 changed files with 25 additions and 12 deletions

View File

@@ -2,12 +2,6 @@ language: rust
rust:
- 1.37.0
addons:
apt:
packages:
# For cargo-tarpaulin
- libssl-dev
cache: cargo
before_script:
@@ -21,11 +15,5 @@ script:
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"
- cargo install cargo-tarpaulin || echo "cargo-tarpaulin already installed"
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install-update -a # update outdated cached binaries
after_success:
# Manually exclude packages that are going to be removed from the workspace
- travis_wait 35 cargo tarpaulin --release --timeout 600 --out Xml --packages "librustzcash,zcash_client_backend,zcash_primitives,zcash_proofs"
- bash <(curl -s https://codecov.io/bash)