Enforce rustfmt on Travis CI

This commit is contained in:
Chris Wong 2020-09-27 20:59:49 +10:00
parent 88154c4c42
commit 2801530953

View file

@ -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)