[gjs: 1/2] CI: only run codequality on master
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] CI: only run codequality on master
- Date: Fri, 9 Mar 2018 07:11:02 +0000 (UTC)
commit 65da504abeada8b2d62cde57aafb6ae87934d824
Author: Claudio André <claudioandre br gmail com>
Date: Thu Mar 8 15:32:23 2018 -0300
CI: only run codequality on master
As there is no GUI to analyze the Code Climate report, it is better to
avoid wasting CPU resources by running it only on the main branch.
Naturally, keeping track of the evolution of the code quality, even if
only in the master branch, is essential.
.gitlab-ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9645aec..b8741df 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -118,8 +118,8 @@ codequality:
- docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume
/var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json >
codeclimate.json
artifacts:
paths: [codeclimate.json]
- except:
- - /^wip\/.*/
+ only:
+ - master@GNOME/gjs
cppcheck:
<<: *build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]