diff options
author | Brian Warner <warner@lothar.com> | 2018-05-25 12:17:08 -0700 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2018-05-25 12:17:08 -0700 |
commit | db65799f4aef435eee446596e55cd7b0977fa97d (patch) | |
tree | 6ba81d4020cdf8bedf5f588eee548156a4a16f53 | |
parent | f9d4a223c48e5f9fe161f6a9a47c806c0752835b (diff) | |
download | PAKEs-db65799f4aef435eee446596e55cd7b0977fa97d.tar.xz |
travis: add rustfmt, ignore WIP-* branches
-rw-r--r-- | .travis.yml | 11 |
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 |