diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b76595e724da36e68aab389a2f15365c676cb854..37bc43f979110c4393eabc636793215d713bc1f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,6 +88,19 @@ minimal-conda:
     - docker
 
 
+minimal-sympy-master:
+  stage: test
+  except:
+    variables:
+      - $ENABLE_NIGHTLY_BUILDS
+  image: i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda
+  script:
+    - python -m pip install --upgrade git+https://github.com/sympy/sympy.git
+    - python setup.py quicktest
+  allow_failure: true
+  tags:
+    - docker
+
 # -------------------- Linter & Documentation --------------------------------------------------------------------------