diff --git a/.travis.yml b/.travis.yml
index caf05c0..ec8a16a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,3 +43,10 @@ jobs:
         local_dir: docs/site
         on:
           branch: master
+    - name: "Format"
+      before_script:
+        - rustup component add rustfmt
+      script:
+        - cargo fmt -- --check
+        - (cd benchmarks && cargo fmt -- --check)
+        - (cd docs && cargo fmt -- --check)