[gjs: 1/2] CI: only run codequality on master



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]