From 628c68abe39adb19d36d6c71beca7e946e35b682 Mon Sep 17 00:00:00 2001
From: Dan Robertson <dan.robertson@anidata.org>
Date: Wed, 7 Mar 2018 03:09:33 +0000
Subject: [PATCH] Add test.sh and fmt.sh to travis.yml

Do not accept unformatted code.
---
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..797c499a8
--- /dev/null
+++ b/.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
-- 
GitLab