Make Travis test rustfmt and clippy

This commit is contained in:
Lucien Greathouse
2019-08-27 15:27:25 -07:00
parent 5a7d6a673a
commit f465af964a

View File

@@ -34,11 +34,15 @@ matrix:
cache: cargo
script:
- cargo test --verbose
- cargo test --locked --verbose
- language: rust
rust: stable
cache: cargo
script:
- cargo test --verbose
- rustup component add rustfmt
- rustup component add clippy
- cargo test --locked --verbose
- cargo fmt -- --check
- cargo clippy