diff options
author | Kartikaya Gupta <kats@trevize.staktrace.com> | 2019-05-28 20:04:41 -0400 |
---|---|---|
committer | Kartikaya Gupta <kats@trevize.staktrace.com> | 2019-06-04 16:20:38 -0400 |
commit | b47729baba3af4994a46e101c429e79023b347b2 (patch) | |
tree | be38c3af72001c479bb2b8f298e0723805c45fcc /.travis.yml | |
parent | 9822ca7b5eedf83b0ee438f1c5f78056783aed51 (diff) |
Run rustfmt and add it to travis checks
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 0f87fb7..36948bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,13 @@ rust: matrix: allow_failures: - rust: nightly + include: + - stage: lint + name: "Rust: rustfmt" + rust: stable + install: + - rustup component add rustfmt + script: + - cargo fmt -v -- --check notifications: email: false |