diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0254f8489c5ec0123785fca1f47f6ae00f0a1437..b44537577a8e94c6de0a4df2a5f46957f6cfc335 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,12 +2,12 @@ include:
   - remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/default.yml
 
 # Plugin does not support 5.6 or 7.0.
-PHPunit:PHP7.0:MySQL:
+PHPunit:PHP5.6:MySQL:
   rules:
-    - if: true
+    - if: $PIPELINE_PHP_5_6 != '1'
       when: never
 
-PHPunit:PHP5.6:MySQL:
+PHPunit:PHP7.0:MySQL:
   rules:
-    - if: true
+    - if: $PIPELINE_PHP_7_0 != '1'
       when: never