diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ad1d6b1742857c8eaaf8b8f0c4e37933346c8baf..e38d132959a5c8bde9b8894da74abdcf2891b9e2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 image: "rust:latest"
 
 before_script:
+    - git submodule update --init --recursive
     - rustup toolchain add nightly
     - rustup target add x86_64-unknown-redox --toolchain nightly
     - rustup show      # Print version info for debugging
@@ -19,7 +20,8 @@ test:linux:
 
 fmt:
     script:
-        - ./fmt.sh -- --write-mode=diff
+        - rustup component add rustfmt-preview
+        - ./fmt.sh -- --check
 
 # TODO: Set up a docker image with a redox vm that would allow to
-#   run things like tests under redox
\ No newline at end of file
+#   run things like tests under redox