From df65aef42c3a0f5da8cd2089df81ec4ffebf556d Mon Sep 17 00:00:00 2001 From: Achraf Chouk Date: Mon, 26 Nov 2018 08:44:55 +0100 Subject: [PATCH] fix SonarQube travis integration --- .travis.yml | 5 +++-- sonar-project.properties | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 sonar-project.properties diff --git a/.travis.yml b/.travis.yml index 90acfef..4f8cc00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ addons: sonarcloud: organization: "getolympus" token: - secure: f970bca02fb605810ba4e67328a4b38c6e5ad21a + secure: "j1c4AvUsI8zrUPm7H1JEjKc1zo61yZrVpkxExSHtsxUSJtF2LlT8a+FTMwJmN8Z3oTU//2Ofn/KDKxY6a8YbrReyvlBDmCq/g2IMcminwwW16wlrW0k2cAu8lGpGl20+hCauFqPEgMgaOG4LQjXKDylHnLPn4vkyD4lpMmeLZmrk6FCZYvF1zvkTcX7PgTTPj6KgEy8AAG7HAkEvy8bXRsQIRNhUNA8xQYtBSih0B73itOwKqwAokSb1RkGl8aeZflMZvqZffQKyCIx5GIgYZGitZ0C5YdXcY0zAbli5kM0xH5dQzKgaez/goc3RTdk1gQK/BAHUsAJfsm1fiscUy+EiFpYk09KxQHq9/m5x7g1Box0ZNPVyUjntIsa3CB0DAuye3PFNhj32Q3zngfRZH3m2Odmw1V9+sWrGi1+5XDsbkV4ZHGGmFO5uMeRzy9G5zvHo32XzqkhOM9yliE6jz4y5Xx+9My2FBfNFeLllPNrczvWzqFavBtlq9krrfj3UmtK19gEvs6dgPT7smc13/jL9ifLkRzj4p+gvpO6RjePyfuR/b8a74FOM0EFowWpVH/oYaPfNkdmZNAHJNyQriSDFgzhLpP4WRD3/cmmE/keFzI6i+qSkOEh/xvE8O1ixPTVFekPQ6cKFWtXsn3H1J5w2jOhbX/h/0lcsdNBTAJc=" matrix: fast_finish: true @@ -17,7 +17,7 @@ matrix: cache: directories: - - $HOME/.composer/cache + - "$HOME/.composer/cache" - app/cache - vendor @@ -29,3 +29,4 @@ install: script: - composer test + - sonar-scanner diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..a489859 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,22 @@ +############################################## +# @package olympus-zeus-core +# @author Achraf Chouk +# @since 1.0.0 +############################################## + +# Defaults +sonar.projectKey=GetOlympus_Zeus-Core +sonar.projectName=Olympus Zeus framework core system used to make all your WordPress plugins and themes developments easier and efficient +sonar.projectVersion=1.0.0 + +# Metadatas +sonar.links.homepage=https://github.com/GetOlympus/Zeus-Core +sonar.links.ci=https://travis-ci.org/GetOlympus/Zeus-Core +sonar.links.issue=https://github.com/GetOlympus/Zeus-Core/issues + +# Standard properties +sonar.sources=src/Zeus +sonar.tests=tests + +# Language specific properties +sonar.php.tests.reportPath=phpunit.xml