Parcourir la source

Add test.sh and fmt.sh to travis.yml

Do not accept unformatted code.
Dan Robertson il y a 7 ans
Parent
commit
628c68abe3
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      .travis.yml

+ 7 - 0
.travis.yml

@@ -0,0 +1,7 @@
+language: rust
+cache: cargo
+before_script:
+- rustup component add rustfmt-preview
+script:
+- bash ./fmt.sh -- --write-mode=diff
+- bash ./test.sh