summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2019-02-04 12:00:27 +0100
committerBenjamin Berg <bberg@redhat.com>2019-02-04 15:19:31 +0100
commit2bbe115f1434a875586ff279c30d89fab7c3bfa5 (patch)
treee8a62add3b98304e35d5e168045f60fe3ac85325 /.gitlab-ci.yml
parent92751c580dfe345389563a71bce8f4bd0179880c (diff)
downloadgnome-settings-daemon-2bbe115f1434a875586ff279c30d89fab7c3bfa5.tar.gz
CI: Add exceptions to not run for scheduled tasks
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
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: