diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c49077bb27a2af158624e7222d999973487f0951..2173bd10e1111acdb2b14696aa41e128e7836bc3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,14 +65,16 @@ minimal-windows:
     - python -c "import numpy"
     - python setup.py quicktest
 
-minimal-ubuntu:
+ubuntu:
   stage: test
   except:
     variables:
       - $ENABLE_NIGHTLY_BUILDS
-  image: i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_ubuntu
+  image: i10git.cs.fau.de:5005/pycodegen/pycodegen/ubuntu
   script:
-    - python3 setup.py quicktest
+    - mkdir -p ~/.config/matplotlib
+    - echo "backend:template" > ~/.config/matplotlib/matplotlibrc
+    - pytest-3 -v -m "not longrun"
   tags:
     - docker