[gnome-settings-daemon/wip/claudio/CI] CI: Add exceptions to test and build stages



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

    CI: Add exceptions to test and build stages

 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index df9f5474..2413338d 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


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