]> git.lizzy.rs Git - PAKEs.git/commitdiff
travis: allow rustfmt to fail
authorBrian Warner <warner@lothar.com>
Wed, 17 Oct 2018 18:06:24 +0000 (11:06 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 17 Oct 2018 18:21:16 +0000 (11:21 -0700)
I'm on the fence about this, but I have to admit that having your PR fail
because of formatting issues isn't a great experience for new contributors.

We will need to run `cargo fmt` ourselves on a regular basis.

.travis.yml

index e12f11185e5c3460e0a277ecaebad14d5c2343c1..da26702751d48efa58b2d5792594e9b9bfefec56 100644 (file)
@@ -13,4 +13,5 @@ matrix:
         - cargo fmt -- --check
   allow_failures:
     - rust: nightly
+    - env: RUSTFMT
 script: cargo test --release --verbose --all