浏览代码

Lint with Clippy in CI

This is now possible as all of the warnings have been fixed. With luck, we can now stay at 0.
Benjamin Sago 4 年之前
父节点
当前提交
fe3e1c4e52
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      .travis.yml

+ 8 - 0
.travis.yml

@@ -13,3 +13,11 @@ jobs:
   fast_finish: true
   allow_failures:
     - rust: nightly
+
+  include:
+    - name: 'Rust: lint with Clippy'
+      rust: stable
+      install:
+        - rustup component add clippy
+      script:
+        - cargo clippy