2014-08-28 17:09:51 +00:00
|
|
|
language: rust
|
2015-09-20 17:22:39 +00:00
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
2019-01-14 19:36:54 +00:00
|
|
|
- 1.22.0
|
2014-07-18 14:33:44 +00:00
|
|
|
|
2018-03-20 16:28:18 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install -y binutils-dev libunwind8-dev
|
|
|
|
|
|
|
|
script:
|
|
|
|
- cargo build --verbose
|
|
|
|
- cargo test --verbose
|
2018-04-02 19:38:43 +00:00
|
|
|
- cargo build --verbose --features=bitcoinconsensus
|
|
|
|
- cargo test --verbose --features=bitcoinconsensus
|
2018-08-20 16:37:19 +00:00
|
|
|
- cargo build --verbose --features=serde
|
|
|
|
- cargo test --verbose --features=serde
|
|
|
|
- cargo build --verbose --features=serde-decimal
|
|
|
|
- cargo test --verbose --features=serde-decimal
|
2018-03-20 16:28:18 +00:00
|
|
|
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
|