Explorar el Código

travis: check code style with rustfmt

Mokhtar Naamani hace 5 años
padre
commit
90c6dae154
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -3,7 +3,10 @@ rust:
   - 1.34.0
 cache:
   - cargo
-script:
+before_script:
+  - rustup component add rustfmt
   - ./setup.sh
+script:
+  - cargo fmt --all -- --check
   - ./build.sh
   - cargo test --verbose --all