perf(travis): Use travis optimizations
diff --git a/.travis.yml b/.travis.yml
index e3d432a..ee385d0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,12 @@
 
 language: python
 
+git:
+  depth: 1
+
+cache:
+  - pip
+
 addons:
   hosts: test_site
   mariadb: 10.3