From b988411011366bb9da0ae4dca9ae56d0ed7f2b4e Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 22 Dec 2018 20:16:16 +0100 Subject: [PATCH] Sonar --- .travis.yml | 1 + sonar-project.properties | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 sonar-project.properties diff --git a/.travis.yml b/.travis.yml index 0d54d55e..151f2793 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,5 @@ cache: - '$HOME/.sonar/cache' script: + - phpunit - sonar-scanner diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..9232c25f --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,16 @@ +# must be unique in a given SonarQube instance +sonar.projectKey=lam +# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1. +sonar.projectName=LDAP Account Manager +sonar.projectVersion=develop + +# Encoding of the source code. Default is default system encoding +sonar.sourceEncoding=UTF-8 + +sonar.links.homepage=https://www.ldap-account-manager.org/ +sonar.links.ci=https://travis-ci.com/LDAPAccountManager/lam +sonar.links.scm=https://github.com/LDAPAccountManager/lam +sonar.links.issue=https://github.com/LDAPAccountManager/lam + +sonar.sources=lam +sonar.tests=lam/tests