Enforce rustfmt on Travis CI
This commit is contained in:
parent
88154c4c42
commit
2801530953
1 changed files with 7 additions and 0 deletions
|
@ -43,3 +43,10 @@ jobs:
|
|||
local_dir: docs/site
|
||||
on:
|
||||
branch: master
|
||||
- name: "Format"
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
script:
|
||||
- cargo fmt -- --check
|
||||
- (cd benchmarks && cargo fmt -- --check)
|
||||
- (cd docs && cargo fmt -- --check)
|
||||
|
|
Loading…
Add table
Reference in a new issue