Browse Source

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

Do not accept unformatted code.
Dan Robertson 7 năm trước cách đây
mục cha
commit
628c68abe3
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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