23 lines
749 B
YAML
23 lines
749 B
YAML
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
- 1.14.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
|
|
- if [ "$(rustup show | grep default | grep nightly)" != "" ]; then cargo bench --features unstable; fi
|