瀏覽代碼

Run mutation testing in CI

Benjamin Sago 4 年之前
父節點
當前提交
243143527b
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      .travis.yml

+ 8 - 0
.travis.yml

@@ -21,3 +21,11 @@ jobs:
         - rustup component add clippy
       script:
         - cargo clippy
+
+    - name: 'Rust: mutation testing'
+      rust: nightly
+      install:
+        - cargo install cargo-mutagen
+      script:
+        - cargo test    --package dns --features=dns/with_mutagen -- --quiet
+        - cargo mutagen --package dns --features=dns/with_mutagen