Private
Public Access
2
0

sonar: modify sonar-scan.sh script

Prevent execution on non configured env & add sonar target to allowed failures
in travis

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Nicolas Oliver
2017-07-17 10:28:23 -03:00
committed by Brendan Le Foll
parent 4bedd68c4e
commit 189b959012
3 changed files with 13 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ services:
- TRAVIS_REPO_SLUG
- TRAVIS_PULL_REQUEST_SLUG
- GITHUB_TOKEN
command: bash -c "./scripts/run-cmake.sh && cd build && ./../scripts/sonar-scan.sh"
command: bash -c "./scripts/run-cmake.sh && cd build && ../scripts/sonar-scan.sh"
python2:
extends: base