[gnome-shell/wip/fmuellner/ci-test: 2/2] ci: Skip changes when appropriate
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/ci-test: 2/2] ci: Skip changes when appropriate
- Date: Tue, 12 Feb 2019 19:38:02 +0000 (UTC)
commit 200ba91c34cbceae5f1cc0c7118b0e7a160d4c9b
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 12 20:17:07 2019 +0100
ci: Skip changes when appropriate
We don't have to run the static analyzer on javascript sources when
no javascript source was changed.
.gitlab-ci.yml | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07c9144af..819d850d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,9 @@ js_check:
script:
- find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
- (! grep -q . $JS_LOG)
+ only:
+ changes:
+ - js
artifacts:
paths:
- ${JS_LOG}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]