]> git.lizzy.rs Git - PAKEs.git/blobdiff - .travis.yml
(cargo-release) version 0.0.8
[PAKEs.git] / .travis.yml
index 73fa8d712164840690cff0f55c8b50fc065459df..3998753caf31bbbf40a3915a92c38f7085fc76b1 100644 (file)
@@ -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
 
@@ -17,7 +28,8 @@ script:
   - cargo clean
   - cargo build --verbose --all
 #  - cargo run --verbose --example XYZ
-  - cargo test --verbose --features "test" --all
+#  - cargo test --verbose --features "test" --all
+  - cargo test --verbose --all
 
 after_success: |
   if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then