aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 3ab58db..3998753 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,18 @@ os:
- linux
- osx
+branches:
+ except:
+ - /^WIP-.*$/
+
matrix:
+ include:
+ - rust: 1.26.0 # lock down for consistent rustfmt behavior
+ env: RUSTFMT
+ install:
+ - rustup component add rustfmt-preview
+ script:
+ - cargo fmt -- --write-mode=diff
allow_failures:
- rust: nightly