diff --git a/.travis.yml b/.travis.yml
index 16af61eb1f2d09ff9b48a659da8d641e2f3214cb..a9685f2b73f14a966e3fd56a1e4c920e4dfb5575 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,15 @@
+# vim:ff=unix ts=2 sw=2 ai expandtab
 ---
 language: python
 python: "3.6"
-dist: trusty
-sudo: false
-group: beta
+dist: bionic
 cache:
-  - pip
-  - directories:
-      - $HOME/.cache/
+  pip: true
+  directories:
+    - $HOME/.cache/pre-commit
 
 install:
-  - pip install pre_commit | cat
+  - pip install pre_commit
 
 script:
   - pre-commit run --all-files