language: rust
rust:
- stable
- beta
before_script:
- rustup component add rustfmt
script:
cargo fmt -- --check &&
cargo build --verbose &&
cargo test --verbose &&
cargo doc --verbose
branches:
only:
- master
os:
- linux
- windows
dist: xenial