File tree Expand file tree Collapse file tree 3 files changed +69
-1
lines changed
Expand file tree Collapse file tree 3 files changed +69
-1
lines changed Original file line number Diff line number Diff line change 1+ version : " 2"
2+ checks :
3+ argument-count :
4+ config :
5+ threshold : 6
6+ complex-logic :
7+ config :
8+ threshold : 5
9+ file-lines :
10+ config :
11+ threshold : 600
12+ method-complexity :
13+ config :
14+ threshold : 6
15+ method-count :
16+ config :
17+ threshold : 20
18+ method-lines :
19+ config :
20+ threshold : 50
21+ nested-control-flow :
22+ config :
23+ threshold : 4
24+ return-statements :
25+ enabled : false
26+ similar-code :
27+ config :
28+ threshold : 40
29+ identical-code :
30+ config :
31+ threshold : 40
32+ exclude_patterns :
33+ - " docs/"
34+ - " .gitlab-ci/"
35+ - " scripts/"
36+ - " Tests/"
37+ - " *.md"
38+ - " *.resolved"
39+ - " *.txt"
Original file line number Diff line number Diff line change 11stages :
2+ - Quality Checks
23 - Platform Tests
34 - Docs
45
@@ -32,6 +33,30 @@ pages:
3233 paths :
3334 - public
3435
36+ Code Climate :
37+ only :
38+ refs :
39+ - branches
40+ - tags
41+ stage : Quality Checks
42+ image : docker:stable
43+ services :
44+ - docker:stable-dind
45+ variables :
46+ DOCKER_DRIVER : overlay2
47+ CODE_QUALITY_IMAGE : " registry.gitlab.com/gitlab-org/security-products/codequality:latest"
48+ script :
49+ - docker pull --quiet "$CODE_QUALITY_IMAGE"
50+ - docker run
51+ --env SOURCE_CODE="$PWD"
52+ --volume "$PWD":/code
53+ --volume /var/run/docker.sock:/var/run/docker.sock
54+ " $CODE_QUALITY_IMAGE" /code
55+ artifacts :
56+ expire_in : 1 week
57+ reports :
58+ codequality : gl-code-quality-report.json
59+
3560Ubuntu Bionic :
3661 stage : Platform Tests
3762 trigger :
Original file line number Diff line number Diff line change 22<p ><img src =" https://gitlab.com/Mordil/swift-redi-stack/wikis/uploads/cb4c517e40bd2f5ab796f1093efbd697/RediStack_social-preview_transparent.png " width =" 350 " alt =" RediStack logo " ></p >
33
44<p >
5- <a href="https://gitlab.com/Mordil/swift-redi-stack/pipelines"><img src="https://gitlab.com/Mordil/swift-redi-stack/badges/master/pipeline.svg" alt="Build Status"></a>
65 <a href="https://github.com/swift-server/sswg/blob/master/process/incubation.md#sandbox-level"><img src="https://img.shields.io/badge/sswg-sandbox-lightgrey.svg" alt="SSWG Maturity"></a>
76 <a href="https://gitlab.com/Mordil/swift-redi-stack/blob/master/LICENSE.txt"><img src="https://img.shields.io/badge/License-Apache%202.0-yellow.svg" alt="Apache 2 License"></a>
87 <a href="https://swift.org"><img src="https://img.shields.io/badge/Swift-5.0+-orange.svg" alt="Swift 5.0+"></a>
98 <a href="https://redis.io"><img src="https://img.shields.io/badge/Redis-5.0-red.svg" alt="Redis 5.0"></a>
109</p >
10+
11+ <p >
12+ <a href="https://gitlab.com/Mordil/swift-redi-stack/pipelines"><img src="https://gitlab.com/Mordil/swift-redi-stack/badges/master/pipeline.svg" alt="Build Status"></a>
13+ <a href="https://codeclimate.com/github/Mordil/swift-redi-stack/maintainability"><img src="https://api.codeclimate.com/v1/badges/3ff84c8d384b01cb5875/maintainability" /></a>
14+ </p >
1115</div >
1216
1317<table ><thead ><tr align =" center " ><th width =" 9999 " >
You can’t perform that action at this time.
0 commit comments