Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor test data out of test module #1

Closed
wants to merge 364 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
247f3fb
Impl traits and functions for Memo
str4d Jan 24, 2019
2b1583d
Deduplicate Sapling key agreement logic
str4d Mar 23, 2019
566db65
Use a slice instead of a vector in prf_expand()
str4d Mar 23, 2019
899d852
Inline empty nonces
str4d Mar 23, 2019
9086dd9
Enforce consistent plaintext and ciphertext lengths
str4d Mar 23, 2019
e17e4b1
Test invalid decryption edge cases
str4d Mar 23, 2019
8c5cd4e
Place bellman multicore operations behind a (default) feature flag
ebfull Nov 4, 2018
6dcb404
Switch to crypto_api_chachapoly crate
str4d Apr 11, 2019
34658c4
Raise minimum Rust version to 1.32
str4d Apr 11, 2019
edf7bc1
Document note_encryption module
str4d Apr 11, 2019
34f762c
Electric Coin Company
rex4539 Mar 20, 2019
437b66d
Closes #52. Fix test error "attempt to shift right with overflow".
bitcartel May 17, 2019
c2d0a7d
Merge pull request #74 from str4d/bellman-multicore
str4d May 22, 2019
c5642f9
Merge pull request #70 from rex4539/electric-coin-company
str4d May 23, 2019
2d97ccb
Merge pull request #81 from bitcartel/52_wrapped_shr
str4d May 28, 2019
0ee1e81
Merge pull request #61 from rex4539/fix-typos
str4d May 29, 2019
6d03b5c
Replace AeadCipher::seal with AeadCipher::seal_to
str4d Jun 5, 2019
23aa869
Add comments with specification references
str4d Jun 5, 2019
d4fce58
Tweaks to debug output and function names
str4d Jun 5, 2019
75bede4
Use fixed-length arrays instead of Vec
str4d Jun 5, 2019
6846ac5
Require that ak in FullViewingKey is prime order
str4d Jun 5, 2019
9d80be6
Simplify Memo::to_utf8 implementation
str4d Jun 6, 2019
060977f
Return edwards::Point from sapling_ka_agree
str4d Jun 6, 2019
fdb6e20
Check note plaintext version byte when decrypting
str4d Jun 6, 2019
b65aae9
Test both invalid and incorrect diversifiers
str4d Jun 6, 2019
3b6f5e3
Merge pull request #69 from str4d/sapling-note-encryption
str4d Jun 6, 2019
fae919e
Rename zcash_wallet to zcash_client_backend, set to 2018 edition
str4d Oct 22, 2018
f25a8a5
Convert zip32 crate into a module of zcash_primitives
str4d Apr 10, 2019
81b2b1b
Wallet spending key derivation path
str4d Oct 15, 2018
17f60a0
Implement PaymentAddress encoding and decoding
str4d Oct 17, 2018
dd9c9ff
Add encodings for ExtendedSpendingKey and ExtendedFullViewingKey
str4d Jan 30, 2019
a3a9ee2
Validate PaymentAddress diversifier when decoding
str4d Jul 1, 2019
91c6b0b
Merge pull request #88 from str4d/address-encodings
str4d Jul 10, 2019
999dcbf
Migrate to blake2b_simd and blake2s_simd crates
str4d Jun 4, 2019
d1ce674
Bump minimum Rust version to 1.36
str4d Jul 10, 2019
785f22c
Move Sapling commitment tree hash into zcash_primitives
str4d Oct 3, 2018
8f3f95e
Sapling commitment tree empty roots
str4d Oct 3, 2018
f4059a5
Sapling commitment tree
str4d Oct 8, 2018
bf74915
Move CommitmentTreeWitness into zcash_primitives
str4d Nov 8, 2018
667d610
Sapling incremental witnesses
str4d Oct 10, 2018
70a7069
Helper for serializing Option<T>
str4d Dec 1, 2018
9b41867
Add serialization APIs to CommitmentTree and IncrementalWitness
str4d Dec 1, 2018
98d7621
Don't assert when parsing a CommitmentTreeWitness
str4d Mar 19, 2019
263bbe1
Use Iterator::all() in place of Iterator::fold()
str4d Mar 19, 2019
b9cea33
Move merkle_tree::Node into sapling module
str4d Apr 15, 2019
e67560b
Document merkle_tree module
str4d Apr 16, 2019
79006ec
Unify Sapling tree depth constants
str4d Apr 16, 2019
07dbfbe
Address Eirik's review comments
str4d Jun 3, 2019
504c3ea
Address Daira's review comments
str4d Jul 15, 2019
5e3409e
Merge pull request #68 from str4d/sapling-commitment-tree
str4d Jul 15, 2019
8361674
Merge branch 'master' into blake2_simd
str4d Jul 18, 2019
9e758dc
Merge pull request #83 from str4d/blake2_simd
str4d Jul 18, 2019
7a6642b
Migrate ff to rand_core 0.3 (used by rand 0.5)
str4d Jul 10, 2019
ce6e2a5
Migrate group to rand 0.5
str4d Jul 10, 2019
a7e22b3
Migrate pairing to rand 0.5
str4d Jul 10, 2019
4606a0c
Migrate bellman to rand 0.5
str4d Jul 10, 2019
adfc889
Migrate sapling-crypto to rand 0.5
str4d Jul 11, 2019
6149166
Migrate zcash_primitives to rand 0.5
str4d Jul 11, 2019
ccf75c3
Migrate remaining crates to rand 0.5
str4d Jul 11, 2019
5728bda
Replace rust-crypto with sha2 in sapling-crypto dev-dependencies
str4d Jul 11, 2019
83e1af1
Migrate ff, group, pairing, and bellman to rand 0.6
str4d Jul 13, 2019
60d344a
Migrate sapling-crypto to rand_core 0.4
str4d Jul 13, 2019
8f7adec
Migrate zcash_primitives to rand_core 0.4
str4d Jul 13, 2019
b0913af
Migrate remaining crates to rand_core 0.4
str4d Jul 13, 2019
6f9083b
Migrate to rand 0.7
str4d Jul 14, 2019
c4e14ad
Address libc deprecations
str4d Jul 14, 2019
7f60f0f
Make some methods in DiversifierKey, DiversiferIndex pub
adityapk00 Jul 10, 2019
5a48d17
Merge pull request #90 from adityapk00/paperwallet
str4d Jul 22, 2019
0255dca
Clarify masking of bits in Field::random impls
str4d Jul 26, 2019
05f098e
Merge pull request #91 from str4d/upgrade-rand
str4d Jul 26, 2019
0161803
TxProver trait to abstract over the circuit parameters
str4d Nov 18, 2018
1862354
Sapling transaction builder
str4d Nov 20, 2018
dab3c00
Script opcode and data support
str4d May 24, 2019
c26188a
TransparentAddress struct for P2PKH and P2SH
str4d May 24, 2019
a1cd9df
transaction::Builder::add_transparent_output()
str4d May 24, 2019
54ef63b
Place zcash_proofs::prover::LocalTxProver behind a feature flag
str4d Jun 12, 2019
4b61120
Pass tx builder RNG to SaplingNoteEncryption
str4d Jun 12, 2019
532299d
Allow transaction::Builder RNG to be configured
str4d Jun 12, 2019
17f6bbc
Pass tx builder RNG to spend_sig()
str4d Jun 12, 2019
fa50d55
Move Amount impl into a submodule
str4d Jul 25, 2019
0ea4408
Amount::{zero, is_positive, is_negative}
str4d Jul 25, 2019
ab60b88
impl operators for Amount
str4d Jul 25, 2019
59ed258
Make Amount opaque, and use it more
str4d Jul 25, 2019
4255b44
Merge pull request #13 from str4d/nullifier-test-vectors
str4d Aug 2, 2019
3891fe5
Make initialization of sprout validation key optional
paracetamolo Aug 6, 2019
7c07914
Separate Amount::{from_i64, from_nonnegative_i64} APIs
str4d Aug 7, 2019
e666321
Improve documentation for Amount
str4d Aug 8, 2019
3a73f94
Simplify structure of transaction builder errors
str4d Aug 13, 2019
1760b27
Simplify transaction builder tests
str4d Aug 13, 2019
a28d94f
Panic if Amount addition or subtraction overflows
str4d Aug 13, 2019
4a6c9ec
Comment that we support a minimal set of script opcodes
str4d Aug 13, 2019
52ea437
Merge pull request #92 from str4d/transaction-builder
str4d Aug 14, 2019
2f1cae6
Upgrade to fpe 0.2
str4d Jul 22, 2019
a12b805
Upgrade to digest 0.8
str4d Jul 22, 2019
ec32138
Upgrade to bech32 0.7
str4d Jul 22, 2019
3211536
Upgrade to crypto_api_chachapoly >= 0.2.1
str4d Jul 22, 2019
3e35dd2
cargo update
str4d Jul 30, 2019
13933d8
Use modern clippy linter syntax
str4d Jul 30, 2019
81786c2
Fix clippy linter errors in pairing crate
str4d Jul 30, 2019
f931562
Merge pull request #94 from str4d/upgrade-deps
str4d Aug 14, 2019
7ea6d10
Move redjubjub into zcash_primitives
str4d May 4, 2019
2ae5804
Move Sprout and Sapling circuits into zcash_proofs
str4d Aug 5, 2019
61c633d
Move Jubjub and Pedersen hash gadgets into zcash_proofs
str4d Aug 5, 2019
b8af749
Move generic circuit gadgets into bellman
str4d Aug 6, 2019
5fb9b86
Move Jubjub, Pedersen hash and primitives into zcash_primitives
str4d Aug 6, 2019
1b865ec
Remove sapling-crypto
str4d Aug 6, 2019
3584485
Merge pull request #104 from str4d/remove-sapling-crypto
str4d Aug 15, 2019
bc7ea56
cargo fmt pairing
Aug 15, 2019
9a4f681
cargo fmt bellman
Aug 15, 2019
81c5817
cargo fmt zcash_primitives
Aug 15, 2019
272be62
cargo fmt zcash_proofs
Aug 15, 2019
a7c5993
cargo fmt
Aug 15, 2019
7461f89
Update travis to require formatting
Aug 15, 2019
6f0080b
Merge pull request #105 from Eirik0/cargo-clean-up
ebfull Aug 17, 2019
40f768e
Fix off-by-one so pedersen_hash doesn't consume too many generators.
jimpo Aug 17, 2019
d4b6c0e
Use expect to remove unreachable break.
jimpo Aug 19, 2019
7b11d64
Merge pull request #111 from jimpo/master
str4d Aug 20, 2019
e59738b
cargo fix --edition for ff
Aug 17, 2019
4991e53
cargo fix --edition for bellman
Aug 17, 2019
fc3dd81
cargo fix --edition for group
Aug 17, 2019
e12d315
Warning cleanup
Aug 17, 2019
f1b6e88
Add a GitHub Actions workflow for Ubuntu and Windows
str4d Aug 20, 2019
b0d8747
cargo fix --edition for zcash_primitives
Aug 20, 2019
cc0fc98
cargo fix --edition for pairing
Aug 20, 2019
f523ac2
cargo fmt
Aug 20, 2019
7809711
cargo fix --edition for librustzcash
Aug 21, 2019
b35a819
Replace try! macro
Aug 21, 2019
09882c6
Add edition = 2018
Aug 21, 2019
4b021fc
cargo fix --edition-idioms for ff
Aug 21, 2019
a5f25c5
cargo fix --edition-idioms for bellman
Aug 21, 2019
07c690c
cargo fix --edition-idioms for group
Aug 21, 2019
9807a5c
cargo fix --edition-idioms for pairing
Aug 21, 2019
573ffc4
cargo fix --edition-idioms for librustzcash
Aug 21, 2019
c28ae31
cargo fix --edition-idioms for zcash_primitives
Aug 21, 2019
76795a9
cargo fmt
Aug 21, 2019
37531ed
Fixes after feedback
paracetamolo Aug 21, 2019
fec9617
Add edition = 2018 to zcash_proofs
Aug 21, 2019
53182aa
cargo fix --edition-idioms for zcash_proofs
Aug 21, 2019
d63fa33
Remove unnecessary raw marker
Eirik0 Aug 21, 2019
7ad0452
Add macOS support to GitHub Actions workflow
str4d Aug 22, 2019
724e822
Merge pull request #98 from paracetamolo/optional-sprout-parameters
str4d Aug 22, 2019
4014f08
Merge pull request #112 from zcash/github-workflow
str4d Aug 23, 2019
894421f
librustzcash: Fix typo in Windows parameter init
str4d Aug 23, 2019
5e706d5
Actions: Trigger testing workflow on pull_request
str4d Aug 23, 2019
ba3705c
librustzcash: Correctly map sprout_path
str4d Aug 23, 2019
ad33798
Merge pull request #113 from Eirik0/edition-2018-clean-up
str4d Aug 23, 2019
d78c94b
Move Equihash validator into zcash_primitives
str4d Aug 2, 2019
d65fe2c
Address various clippy warnings/errors in bellman
str4d Aug 2, 2019
3a8efd9
Address various clippy warnings/errors in zcash_primitives
str4d Aug 2, 2019
9154167
Address various clippy warnings/errors in zcash_proofs
str4d Aug 2, 2019
fe93f2f
Rename into_ -> to_ where &self is used.
str4d Aug 2, 2019
9016548
Take self directly in into_* functions
str4d Aug 2, 2019
7c1d4d9
Log distinct error cases in Equihash verification
str4d Aug 18, 2019
0c7eb84
impl FromStr for Memo
str4d Aug 18, 2019
563961e
Merge pull request #115 from str4d/windows-typo
str4d Aug 26, 2019
f9f17b2
Add code coverage with cargo-tarpaulin and Codecov
str4d Aug 27, 2019
ee9c88e
Exclude slow tests from code coverage
str4d Aug 28, 2019
c00b65b
Extend Travis CI timeout
str4d Aug 29, 2019
0da4921
Merge pull request #116 from str4d/code-coverage
str4d Aug 29, 2019
b19b40c
Merge pull request #110 from str4d/crate-cleanups
str4d Sep 4, 2019
73ee192
Replace manual address decoding with PaymentAddress::from_bytes
str4d Aug 3, 2019
86142d0
PaymentAddress::to_bytes
str4d Aug 23, 2019
abbd43f
Make pk_d validity an invariant of PaymentAddress
str4d Aug 23, 2019
d6f6b50
Check try_sapling_output_recovery fails with identity as pk_d
str4d Aug 26, 2019
2b6fbfd
Merge pull request #109 from str4d/paymentaddress-encapsulation
str4d Sep 6, 2019
bef3e7e
Migrate ff_derive to proc-macro2 1.0
str4d Sep 6, 2019
89dad57
Migrate bellman to crossbeam 0.7
str4d Sep 12, 2019
0a3b0a9
Upgrade to hex-literal 0.2
str4d Sep 12, 2019
b397a9c
cargo update
str4d Sep 12, 2019
28dcc1c
bellman: Fix compile errors without multicore feature
str4d Sep 12, 2019
8541b2b
pedersen_hash: prints hashes, adds comments
kobigurk Aug 8, 2018
414d651
pedersen_hash: adds tests for Daniel's vector
kobigurk Aug 9, 2018
15633ad
pedersen hashes: example of size limit bug
kobigurk Aug 17, 2018
4835be0
pedersen_hash: show a tighter limit for hash sizes
kobigurk Aug 19, 2018
4349685
pedersen_hash: removes debug prints
kobigurk Sep 4, 2018
7ee61c4
pedersen_hash: adds test vectors for the circuit implementation
kobigurk Sep 4, 2018
804f4cb
Add blake2s test vectors for varying sizes from go-jubjub
kobigurk Oct 24, 2018
cc2a41d
Fix blake2s test data length assertion.
defuse Mar 12, 2019
abd0392
adds test vectors for NoteCommit
kobigurk Aug 29, 2018
2b92493
input circuit: removes debug prints
kobigurk Sep 4, 2018
2edcc12
group_hash: adds test vectors generated by go-jubjub
kobigurk Aug 28, 2018
2ee7b10
blake2s: adds test vectors from go-jubjub
kobigurk Sep 4, 2018
f5dfe07
A test vector for pedersen hash
naure Jul 31, 2018
9080b4c
Many test vectors for pedersen hash
naure Jul 31, 2018
be18eb2
Move test vectors into own module
naure Aug 19, 2018
6240c02
Long and random PH test vectors
naure Aug 19, 2018
68ba93f
PH test vectors for edge-cases
naure Aug 19, 2018
bb0a769
ecc: tests for assert_not_small_order
kobigurk Aug 9, 2018
ace929c
ecc: test_assert_not_small_order also tests for the generators
kobigurk Aug 9, 2018
e0c5ef2
ecc: makes assert_not_small_order tests deeper
kobigurk Aug 11, 2018
f3533e2
boolean: adds tests for alloc_conditionally
kobigurk Aug 6, 2018
d56758d
Calculate number of constraints and more comprehensive test
naure Aug 21, 2018
3efb7f9
Test PH circuit for the size used in the Merkle tree
naure Aug 22, 2018
15b4c37
adds test for linear relation between pedersen hash generators
kobigurk Aug 1, 2018
e391594
Fix broken linear relation checking
defuse Mar 12, 2019
caab37c
Fix build warnings
defuse Apr 10, 2019
4dff805
Remove unfinished find_group_hash test.
defuse Jul 25, 2019
3701c2b
Increase the number of pedersen hash generators, exercise all test ve…
defuse Aug 29, 2019
39a73c8
Add missing cs.is_satisfied() to bellman test
str4d Sep 16, 2019
9377b78
Panic if spending_key is given a seed shorter than 32 bytes
str4d Sep 17, 2019
450087e
Add test for spending_key panic on short seed
str4d Sep 17, 2019
d2da9cf
Merge pull request #127 from str4d/more-crate-updates
str4d Sep 18, 2019
30660e1
Merge pull request #128 from str4d/125-zip-32-seed-length
str4d Sep 19, 2019
1d02363
Add READMEs to Cargo.toml files
str4d Aug 2, 2019
d9a0b9c
CI: Check intra-doc links
str4d Sep 24, 2019
1fbf382
Fix intra-doc links
str4d Sep 24, 2019
7f3036d
Update READMEs
str4d Sep 24, 2019
4ad3988
Crate docs
str4d Sep 24, 2019
e7b5329
Unit tests for key encodings
str4d Sep 24, 2019
4c9ebcc
Bump Rust to 1.37 on CI
NikVolf Sep 25, 2019
b42477a
update from rand_os to fix warnings
NikVolf Sep 28, 2019
c68e15e
Merge pull request #130 from str4d/crate-docs
str4d Sep 28, 2019
7476e4e
alphabetical order
NikVolf Sep 28, 2019
730d2cb
fix outdated example
NikVolf Sep 28, 2019
524055b
Merge pull request #134 from NikVolf/z-rng
str4d Oct 2, 2019
93563c3
Specify rand_core >= 0.5.1 for OsRng import.
jimpo Oct 4, 2019
6de1cb1
Merge pull request #137 from jimpo/rand_core-version
str4d Oct 5, 2019
212b6e6
Merge pull request #133 from NikVolf/patch-1
str4d Oct 7, 2019
2399d9f
Merge pull request #93 from defuse/qed-it-lrz
str4d Oct 8, 2019
3997189
Merge pull request #131 from str4d/119-key-encoding-tests
str4d Oct 8, 2019
b872e9f
Fix pairing benchmarks
str4d Oct 8, 2019
80d3398
Actions: Various CI improvements
str4d Oct 8, 2019
216f0f6
ff 0.5.0
str4d Oct 8, 2019
aa37783
group 0.2.0
str4d Oct 8, 2019
68cada5
pairing 0.15.0
str4d Oct 8, 2019
2555889
bellman 0.2.0
str4d Oct 8, 2019
8b08528
zcash_primitives 0.1.0
str4d Oct 8, 2019
d6bc2fe
zcash_proofs 0.1.0
str4d Oct 8, 2019
b0ba7fe
zcash_client_backend 0.1.0
str4d Oct 8, 2019
98731c8
librustzcash 0.2.0
str4d Oct 8, 2019
a57dc7f
Merge pull request #138 from str4d/release-0.1.0
str4d Oct 8, 2019
af7e263
Build protobufs for compact formats
str4d Oct 12, 2018
591b1fc
Parse compact blocks to find wallet transactions
str4d Oct 12, 2018
f899ecf
Increment the commitment tree and witnesses while scanning blocks
str4d Dec 2, 2018
2b71121
Return the entire note and recipient address when scanning an output
str4d Dec 2, 2018
fb9e9bb
Check for spent notes while scanning blocks
str4d Dec 4, 2018
3b9dfc1
Detect change notes while scanning blocks
str4d Jan 11, 2019
e746f7b
Add tx index within block to WalletTx struct
str4d Jan 24, 2019
b66ac11
Update new witnesses with subsequent transactions in the same block
str4d Feb 14, 2019
a3b85b8
Compute and store BlockHash inside BlockHeader
str4d Apr 30, 2019
2bbd25b
Add prevHash field to CompactBlock
str4d May 1, 2019
1e2bc7f
Test nullifiers in constant time
str4d Aug 21, 2019
7fa51e3
Travis CI: Build before formatting check
str4d Aug 22, 2019
b44653e
Move cmu and epk parsing onto CompactOutput struct
str4d Aug 26, 2019
e9f9411
Store witness inside WalletShieldedOutput
str4d Aug 26, 2019
274f860
Actions: Build before formatting check
str4d Sep 18, 2019
2cd8a7f
Merge pull request #114 from str4d/compact-blocks
str4d Oct 9, 2019
0837deb
mv tests.rs to tests/mod.rs
zancas Dec 1, 2018
fcea0c9
mv test vectors into tests/data.rs to increase readability
zancas Dec 1, 2018
ce3b5d4
mv test structs into test-specific submodules
zancas Dec 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Rust

on: [push, pull_request]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.37.0
override: true

# cargo fmt does not build the code, and running it in a fresh clone of
# the codebase will fail because the protobuf code has not been generated.
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --all

# Ensure all code has been formatted with rustfmt
- run: rustup component add rustfmt
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check --color always

test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.37.0
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
with:
command: fetch
- name: Build tests
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --release --all --tests
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --release --all
- name: Run slow tests
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --release --all -- --ignored

doc-links:
name: Nightly lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
with:
command: fetch

# Ensure intra-documentation links all resolve correctly
# Requires #![deny(intra_doc_link_resolution_failure)] in crates.
- name: Check intra-doc links
uses: actions-rs/cargo@v1
with:
command: doc
args: --all --document-private-items

# Build benchmarks to prevent bitrot
- name: Build benchmarks
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --all --benches
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: rust
rust:
- 1.37.0

addons:
apt:
packages:
# For cargo-tarpaulin
- libssl-dev

cache: cargo

before_script:
- rustup component add rustfmt

script:
- cargo build --verbose --release --all
- cargo fmt --all -- --check
- cargo test --verbose --release --all
- 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
- 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)
Loading