language: rust rust: - stable - beta - nightly before_script: - rustup component add rustfmt script: - cargo fmt --all -- --check - cargo build - cargo test