Skip to content

Commit

Permalink
enabling sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfsilva committed Jul 3, 2017
1 parent 53590a9 commit ecaf7e1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Expand Up @@ -51,6 +51,10 @@ matrix:
- doxygen-gui
- graphviz
- libboost-all-dev
sonarcloud:
organization: "wrench"
token:
secure: ${SONAR_TOKEN}
env: GCC_VERSION=6
- os: linux
compiler: clang
Expand All @@ -72,6 +76,10 @@ matrix:
- doxygen-gui
- graphviz
- libboost-all-dev
sonarcloud:
organization: "wrench"
token:
secure: ${SONAR_TOKEN}
env: CLANG_VERSION=3.6
- os: linux
compiler: clang
Expand All @@ -93,6 +101,10 @@ matrix:
- doxygen-gui
- graphviz
- libboost-all-dev
sonarcloud:
organization: "wrench"
token:
secure: ${SONAR_TOKEN}
env: CLANG_VERSION=3.7

before_install:
Expand Down Expand Up @@ -149,6 +161,10 @@ after_success:
- cd .. && chmod +x generate_documentation.sh
- doxygen --version
- ./generate_documentation.sh --USER --INTERNAL --DEVELOPER --GH
# sonarcloud
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sonar-scanner
fi

deploy:
provider: pages
Expand Down
2 changes: 1 addition & 1 deletion .version
@@ -1 +1 @@
0.1.0-dev
1.0.0-dev
5 changes: 3 additions & 2 deletions sonar-project.properties
Expand Up @@ -3,8 +3,9 @@ sonar.projectName=WRENCH
sonar.projectVersion=1.0.0-dev

sonar.links.homepage=http://wrench-project.org
sonar.links.ci=https://travis-ci.org/wrench-project/wrench
sonar.links.issue=https://github.com/wrench-project/wrench/issues
sonar.links.scm=https://github.com/wrench-project/wrench.git

sonar.sources=src,test

sonar.sources=src
sonar.tests=test

0 comments on commit ecaf7e1

Please sign in to comment.