pirate-librustzcash/.travis.yml

32 lines
906 B
YAML
Raw Normal View History

2019-01-03 18:51:08 +00:00
language: rust
rust:
2019-07-10 17:12:26 +00:00
- 1.36.0
2019-01-03 18:51:08 +00:00
addons:
apt:
packages:
# For cargo-tarpaulin
- libssl-dev
cache: cargo
2019-01-03 18:51:08 +00:00
2019-08-15 16:45:24 +00:00
before_script:
- rustup component add rustfmt
2019-01-03 18:51:08 +00:00
script:
2019-08-15 16:45:24 +00:00
- cargo fmt --all -- --check
- cargo build --verbose --release --all
2019-01-03 18:51:08 +00:00
- cargo test --verbose --release --all
2019-08-28 18:39:35 +00:00
- cargo test --verbose --release --all -- --ignored
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
2019-08-29 00:06:41 +00:00
- 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)