Moved rustfmt commands after build, so that it passes.

Also added clippy into CI checks, but allowing warnings to pass for now.
This commit is contained in:
Luke Anderson
2019-03-12 22:26:01 +11:00
parent 5c20e2272f
commit 6bc977b9e6
3 changed files with 13 additions and 9 deletions

View File

@@ -7,8 +7,9 @@ before_install:
- sudo chown $USER /usr/local/bin/protoc
- sudo chown -R $USER /usr/local/include/google
script:
- cargo fmt --all -- --check
- cargo build --verbose --all
- cargo fmt --all -- --check
- cargo clippy
- cargo test --verbose --all
rust:
- stable