]> git.lizzy.rs Git - PAKEs.git/blobdiff - .travis.yml
Use curve25519-dalek v1
[PAKEs.git] / .travis.yml
index 6103f76ff09fb30beb2b740b0fe7fd8819e5fbd4..8e99551b8e5cb92ecafbf3480523021395c56deb 100644 (file)
@@ -1,23 +1,17 @@
 language: rust
-
 rust:
   - stable
   - beta
   - nightly
-
 matrix:
+  include:
+    - rust: 1.31.0 # lock down for consistent rustfmt behavior
+      env: RUSTFMT
+      install:
+        - rustup component add rustfmt-preview
+      script:
+        - cargo fmt -- --check
   allow_failures:
     - rust: nightly
-
-script:
-  - cargo clean
-  - cargo build
-  - cargo test
-
-after_success: |
-  if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
-    bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
-    # Uncomment the following two lines create and upload a report for codecov.io
-    cargo tarpaulin --out Xml
-    bash <(curl -s https://codecov.io/bash)
-  fi
+    - env: RUSTFMT
+script: cargo test --release --verbose --all