aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 88515a8..e12f111 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,13 @@ rust:
- beta
- nightly
matrix:
+ include:
+ - rust: 1.29.0 # lock down for consistent rustfmt behavior
+ env: RUSTFMT
+ install:
+ - rustup component add rustfmt-preview
+ script:
+ - cargo fmt -- --check
allow_failures:
- rust: nightly
script: cargo test --release --verbose --all