Add a Travis config
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c61d5a6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+language: rust
+
+os: linux
+
+rust: nightly
+
+before_script:
+  - rustup component add rustfmt
+
+script:
+  - cargo check --benches --bins --examples --tests
+  - cargo test
+  - cargo fmt --all -- --check