threshold_crypto/.travis.yml

26 lines
656 B
YAML
Raw Normal View History

language: rust
rust:
2018-09-26 05:10:41 -07:00
- 1.29.1
cache:
cargo: true
timeout: 1200
addons:
apt:
packages:
- unzip
before_install:
2018-09-21 02:38:04 -07:00
- rustup component add --toolchain=${TRAVIS_RUST_VERSION} rustfmt-preview clippy-preview
- cargo deadlinks --version || cargo install cargo-deadlinks
env:
global:
- RUST_BACKTRACE=1
# Enables additional cpu-specific optimizations.
- RUSTFLAGS="-D warnings -C target-cpu=native"
script:
2018-09-21 02:38:04 -07:00
- cargo clippy --tests --examples --benches -- --deny clippy
- cargo fmt -- --check
- cargo test --release
- cargo test --all-features --release
2018-09-26 05:10:41 -07:00
- cargo doc
- cargo deadlinks --dir target/doc/threshold_crypto/