22 lines
643 B
YAML
22 lines
643 B
YAML
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=serde
|
|
- cargo test --verbose --features=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
|