language: rust
rust:
- nightly-2019-05-09
before_script: |
rustup component add rustfmt-preview &&
rustup component add clippy-preview
script: |
cargo fmt -- --check &&
cargo clippy -- -D clippy &&
cargo build --verbose &&
cargo test --verbose
cache: cargo