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



commit f75ae267d0ec8fac5165732b4779dd3220ab0c9d
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 f25948a1..47a51875 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]