Fakultas Ilmu Komputer UI

Commit 99bbf34d authored by Putu Agastya's avatar Putu Agastya
Browse files

[CHORES]Display pipleline status and code coverage

parent bfe1e0b0
......@@ -22,9 +22,7 @@ UnitTest:
- coverage.xml
SonarScanner:
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
image: addianto/sonar-scanner-cli:latest
stage: sonarqube
script:
- sonar-scanner
......@@ -32,6 +30,9 @@ SonarScanner:
-Dsonar.login=$SONARQUBE_TOKEN
-Dsonar.branch.name=$CI_COMMIT_REF_NAME
-Dsonar.projectKey=$SONARQUBE_PROJECT_KEY
only:
- master
- staging
Staging:
image: ruby:2.4
......
[![pipeline status](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/diskominfo-depok-digipus/marjinal-digipus/badges/master/pipeline.svg)](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/diskominfo-depok-digipus/marjinal-digipus/commits/master)
[![coverage report](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/diskominfo-depok-digipus/marjinal-digipus/badges/master/coverage.svg)](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/diskominfo-depok-digipus/marjinal-digipus/commits/master)
\ No newline at end of file
asgiref==3.2.5
astroid==2.3.3
atomicwrites==1.3.0
attrs==19.3.0
autopep8==1.5
colorama==0.4.3
coverage==5.0.4
dj-database-url==0.5.0
Django==3.0.3
django-heroku==0.3.1
gunicorn==20.0.4
importlib-metadata==1.5.2
isort==4.3.21
lazy-object-proxy==1.4.3
mccabe==0.6.1
more-itertools==8.2.0
packaging==20.3
pluggy==0.13.1
psycopg2==2.8.4
py==1.8.1
pycodestyle==2.5.0
pylint==2.4.4
pyparsing==2.4.6
pytest==5.4.1
python-decouple==3.3
pytz==2019.3
six==1.14.0
sqlparse==0.3.1
whitenoise==5.0.1
\ No newline at end of file
typed-ast==1.4.1
wcwidth==0.1.9
whitenoise==5.0.1
wrapt==1.11.2
zipp==3.1.0
\ No newline at end of file
......@@ -9,8 +9,8 @@ sonar.projectKey=$SONARQUBE_PROJECT_KEY
## Path to sources
sonar.sources=.
sonar.exclusions=**/migrations/**, **/__init__.py, digipus/**, **/test.py, manage.py
#sonar.inclusions=
sonar.exclusions=**/migrations/**, **/__init__.py, digipus/**, **/test.py, manage.py, .vscode/**, static/**, staticfiles/**
# sonar.inclusions=
## Path to tests
sonar.tests=.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment