diff --git a/.travis.yml b/.travis.yml
index 72cea2d86c84e440ec00d78974bcf7e376801468..657387324d169775c9bdb3f37fc070f96002a275 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,14 @@
-dist: trusty
+sudo: required
+
+language: minimal
+
+services:
+  - docker
 
 before_install:
-  - sudo apt-get install coreutils realpath doxygen graphviz python-lesscpy cppcheck coccinelle pcregrep python3-pip
-  - sudo pip3 install flake8
+  - docker pull riot/riotbuild
 
 script:
-  - make static-test
+  - docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)"
+      -v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro
+      riot/riotbuild make static-test