Check formatting on Travis

This commit is contained in:
Roman Zeyde 2018-09-28 11:21:08 +03:00
parent af189983ae
commit 11c95fbf09
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -5,7 +5,11 @@ rust:
cache: cargo
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo check --all
- cargo build --all
- cargo test --all