Skip to content

Commit

Permalink
[alpha-unito#70] first attempt with sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurizio Drocco committed Jan 11, 2019
1 parent 89a8230 commit c363a5d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c363a5d

Please sign in to comment.