From c363a5d392aec08d98a81ea2d663a2879ec65be1 Mon Sep 17 00:00:00 2001 From: Maurizio Drocco Date: Fri, 11 Jan 2019 11:35:59 -0800 Subject: [PATCH] [alpha-unito/pico#70] first attempt with sonar --- .travis.yml | 4 ++++ sonar-project.properties | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 sonar-project.properties diff --git a/.travis.yml b/.travis.yml index 722402a1..accf6fe7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,12 +49,16 @@ matrix: env: - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0" +addons: + sonarCloud: + organization: "droccom-github" before_install: - eval "${MATRIX_EVAL}" install: - git clone --single-branch -b fastflow3 https://github.com/fastflow/fastflow.git - ln -s fastflow/ff ff script: + - sonar-scanner - mkdir build && cd build - cmake .. - make diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..97f70a01 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,23 @@ +sonar.projectKey=com.github.droccom.pico +sonar.projectName=pico source analysis +sonar.projectVersion=1.0 + +# ===================================================== +# Meta-data for the project +# ===================================================== + +sonar.links.homepage=https://github.com/droccom/pico +sonar.links.ci=https://travis-ci.org/droccom/pico +sonar.links.scm=https://github.com/droccom/pico +sonar.links.issue=https://github.com/droccom/pico/issues + +# ===================================================== +# Properties that will be shared amongst all modules +# ===================================================== + +# SQ standard properties +sonar.sources=. + +# Properties specific to language plugins: +# - For JavaScript +# sonar.javascript.lcov.reportPaths=reports/js/lcov.dat