sudo: false
language: rust
rust:
  - nightly
script: cd rs-backend && cargo build --verbose && cargo test --verbose
cache: cargo

sudo: false
language: rust
rust:
  - nightly
before_script: (cargo install rustfmt || true)
script: cd rs-backend && cargo fmt -- --write-mode=diff && cargo build --verbose && cargo test --verbose
cache: cargo

Check formatting complies with rustfmt in Travis.
Check formatting complies with rustfmt in Travis.
