language: rust
cache: cargo
rust: stable
before_script:
- rustup component add rustfmt-preview
- rustup component add clippy-preview
- cargo fmt --version
- cargo clippy --version
script:
- cargo fmt -- --check
- cargo build --verbose
- cargo test --verbose
- cargo clippy