Browse Source

Modify travis.yml to enable clippy checks

Shamil Gadelshin 4 years ago
parent
commit
712fe2c56c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -16,6 +16,8 @@ matrix:
 before_install:
   - rustup component add rustfmt
   - cargo fmt --all -- --check
+  - rustup component add clippy
+  - BUILD_DUMMY_WASM_BINARY=1 cargo clippy -- -D warnings
   - rustup default stable
   - rustup update nightly
   - rustup target add wasm32-unknown-unknown --toolchain nightly