Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Godshell
phpTodo
Commits
bf86323b
Commit
bf86323b
authored
Sep 09, 2018
by
Jason Frisvold
Browse files
- Add CI for sonar tests
parent
e703a0e8
Pipeline
#259
passed with stage
in 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
bf86323b
image
:
docker:git
services
:
-
docker:dind
variables
:
GIT_SSL_NO_VERIFY
:
"
true"
DOCKER_DRIVER
:
overlay
stages
:
-
analysis
sonarqube
:
stage
:
analysis
image
:
ciricihq/gitlab-sonar-scanner
variables
:
SONAR_URL
:
https://sq.godshell.com
SONAR_ANALYSIS_MODE
:
publish
script
:
-
gitlab-sonar-scanner
sonar-project.properties
0 → 100644
View file @
bf86323b
# SERVER SETTINGS
sonar.host.url
=
"https://sq.godshell.com:443"
# REQUIRED METADATA
sonar.projectKey
=
phptodo
sonar.projectName
=
phptodo
#sonar.language=py
# Path to source directories (required)
sonar.sources
=
.
#sonar.exclusions=src/old_tests/*,src/sandbox/*,setup.py,data/*,requires/*
# Sonar CPD
sonar.leak.period
=
previous_version
# Test Directories
#tests=src/tests
# python
sonar.python.xunit.skipdetails
=
true
sonar.python.coverage.reportpath
=
coverage.xml
sonar.python.coverage.overallreportpath
=
coverage.xml
sonar.python.xunit.reportpath
=
result.xml
sonar.python.coverage.forcezerocoverage
=
true
sonar.coverage.exclusions
=
src/sandbox/*,src/old_tests,data/*,requires/*
# duplication
sonar.cpd.exclusions
=
src/old_tests/*,src/sandbox/*,setup.py,data/*,requires/*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment