language: "rust"
before_script:
  - "rustup component add rustfmt"
script:
  - "cargo fmt --all -- --check"
  - "make ci"
services:
  - "docker"
sudo: "required"
notifications:
  email: false

language: "rust"
before_script:
  - "rustup component add rustfmt"
script:
  - "cargo fmt --all -- --check && make ci"
services:
  - "docker"
sudo: "required"
notifications:
  email: false
rust:
  - "nightly"

Use nightly Rust for rustfmt options; don't build if rustfmt fails.
Use nightly Rust for rustfmt options; don't build if rustfmt fails.
