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



commit cbdffc1281fc9d816d9c8975cd6a5c551cb8ab29
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 df9f5474..a0b5e5bf 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]