language: rust rust: - stable - beta - nightly - 1.22.0 before_install: - sudo apt-get -qq update - sudo apt-get install -y binutils-dev libunwind8-dev script: - cargo build --verbose - cargo test --verbose - cargo build --verbose --features=bitcoinconsensus - cargo test --verbose --features=bitcoinconsensus - cargo build --verbose --features=use-serde - cargo test --verbose --features=use-serde - cargo build --verbose --features=serde-decimal - cargo test --verbose --features=serde-decimal - if [ "$(rustup show | grep default | grep stable)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi - if [ "$(rustup show | grep default | grep nightly)" != "" ]; then cargo bench --features unstable; fi