sudo: false language: rust cache: cargo rust: - stable - beta - nightly before_install: - cargo install rustfmt || true script: - | cargo fmt -- --write-mode=diff && cargo build && cargo test