[gnome-settings-daemon/wip/claudio/CI: 5/7] CI: Add exceptions to not run for scheduled tasks



commit 25f645380c3ec544f9e2b346223172b5f66e68f5
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Feb 4 12:00:27 2019 +0100

    CI: Add exceptions to not run for scheduled tasks

 .gitlab-ci.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 86161ae9..bb7a9571 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,10 @@ build:
     # Save all but git-related files
     - rm -rf .git .gitignore .gitmodules
 
+  except:
+    variables:
+      - $CI_PIPELINE_SOURCE == "schedule"
+
 ##
 # Stage: Test
 #
@@ -83,6 +87,11 @@ test:
         meson test -C _build --verbose --no-stdsplit
       fi
 
+  except:
+    variables:
+      - $CI_PIPELINE_SOURCE == "schedule"
+      - $CI_COMMIT_TITLE =~ /^Update.*translation$/
+
 # Runs the coverage test.
 coverage:
   <<: *save_build_logs
@@ -136,6 +145,11 @@ pages:
     - *build_procedure
     - *run_tests
 
+  except:
+    variables:
+      - $CI_PIPELINE_SOURCE == "schedule"
+      - $CI_COMMIT_TITLE =~ /^Update.*translation$/
+
 asan:
   <<: *sanitizer
   variables:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]