aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Warner <warner@lothar.com>2018-10-16 14:59:32 -0700
committerBrian Warner <warner@lothar.com>2018-10-16 14:59:32 -0700
commitd57cecc3be92e583f1f41f5d649156eb4cbb4226 (patch)
tree49b404e2e2332886030ea46ad041d4987446d310
parent3fd70bba96746c323881aee4aab2b38ef2eb5b2e (diff)
downloadPAKEs-d57cecc3be92e583f1f41f5d649156eb4cbb4226.tar.xz
travis: test rustfmt too
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 88515a8..827a4c9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,11 @@ rust:
- beta
- nightly
matrix:
+ include:
+ - rust: 1.29.0 # lock down for consistent rustfmt behavior
+ env: RUSTFMT
+ script:
+ - cargo fmt -- --write-mode=diff
allow_failures:
- rust: nightly
script: cargo test --release --verbose --all