Add Rustfmt to CI

This commit is contained in:
Gurwinder Singh
2019-08-17 08:06:47 +05:30
committed by Sean McArthur
parent b039ef25bc
commit e72d6dc189

View File

@@ -21,9 +21,13 @@ matrix:
# - rust: nightly
before_script:
- rustup component add rustfmt-preview
- cargo clean
script:
# Check formatting
- cargo fmt --all -- --check
# Build without unstable flag
- cargo build