rust-secp256k1/.travis.yml

33 lines
771 B
YAML
Raw Normal View History

2014-08-27 10:19:10 -07:00
language: rust
2018-12-07 11:53:44 -08:00
cache: cargo
rust:
- stable
- beta
- nightly
- 1.14.0
2018-12-07 11:53:44 -08:00
os:
- linux
- windows
2015-07-28 10:38:01 -07:00
matrix:
# rand 0.4 actually needs Rust 1.22, which leads to build failures on Rust 1.14 on Windows.
# This is not a problem, because
# - we insist on rust 1.14 only for Debian, and
# - "rand" is only an optional dependency.
exclude:
- rust: 1.14.0
os: windows
2015-07-28 10:38:01 -07:00
script:
- cargo build --verbose --features=fuzztarget
- cargo build --verbose --features=rand
- cargo test --verbose --features=rand
- cargo test --verbose --features="rand serde"
- cargo build --verbose
- cargo test --verbose
- cargo build --release
- cargo test --release
- cargo bench
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cargo doc; fi