aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 827a4c9..e23b82e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,8 @@ matrix:
include:
- rust: 1.29.0 # lock down for consistent rustfmt behavior
env: RUSTFMT
+ install:
+ - rustup component add rustfmt-preview
script:
- cargo fmt -- --write-mode=diff
allow_failures: