Fix work with SonarQube.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-03-17 20:11:55 +02:00
parent 7ca44c16a5
commit fccd8a73cc
2 changed files with 3 additions and 60 deletions

View File

@ -62,11 +62,11 @@ script:
- $CXX --version - $CXX --version
- | - |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
build-wrapper-linux-x86-64 --out-dir bw-outputs make -j$(nproc); build-wrapper-linux-x86-64 --out-dir ../bw-outputs make -j$(nproc);
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$TRAVIS_BUILD_DIR/build/src/libs/vpropertyexplorer/bin:$TRAVIS_BUILD_DIR/build/src/libs/qmuparser/bin"; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$TRAVIS_BUILD_DIR/build/src/libs/vpropertyexplorer/bin:$TRAVIS_BUILD_DIR/build/src/libs/qmuparser/bin";
xvfb-run -a make --silent check TESTARGS="-silent"; xvfb-run -a make --silent check TESTARGS="-silent";
cd ..; cd ..;
sonar-scanner -X; sonar-scanner;
else else
make -j1; make -j1;
fi fi

View File

@ -19,61 +19,4 @@ sonar.exclusions=**/ui_*.h
# The build-wrapper output dir # The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs sonar.cfamily.build-wrapper-output=bw-outputs
# List of the module identifiers sonar.sources=src
sonar.modules=module1,module2,module3,module4,module5,module6,module7,module8,module9,module10,module11,module12,module13,module14
module1.sonar.projectName=Valentina app
module1.sonar.projectBaseDir=src/app/valentina
module1.sonar.sources=.
module2.sonar.projectName=Tape app
module2.sonar.projectBaseDir=src/app/tape
module2.sonar.sources=.
module3.sonar.projectName=Fervor static library
module3.sonar.projectBaseDir=src/libs/fervor
module3.sonar.sources=.
module4.sonar.projectName=QMuparser - math parser library
module4.sonar.projectBaseDir=src/libs/qmuparser
module4.sonar.sources=.
module5.sonar.projectName=VDXF static library
module5.sonar.projectBaseDir=src/libs/vdxf
module5.sonar.sources=.
module6.sonar.projectName=VFormat static library
module6.sonar.projectBaseDir=src/libs/vformat
module6.sonar.sources=.
module7.sonar.projectName=VGeometry static library
module7.sonar.projectBaseDir=src/libs/vgeometry
module7.sonar.sources=.
module8.sonar.projectName=VLayout static library
module8.sonar.projectBaseDir=src/libs/vlayout
module8.sonar.sources=.
module9.sonar.projectName=VMisc static library
module9.sonar.projectBaseDir=src/libs/vmisc
module9.sonar.sources=.
module10.sonar.projectName=VObj static library
module10.sonar.projectBaseDir=src/libs/vobj
module10.sonar.sources=.
module11.sonar.projectName=VPatternDB static library
module11.sonar.projectBaseDir=src/libs/vpatterndb
module11.sonar.sources=.
module12.sonar.projectName=VPropertyExplorer - property explorer library
module12.sonar.projectBaseDir=src/libs/vpropertyexplorer
module12.sonar.sources=.
module13.sonar.projectName=VTools static library
module13.sonar.projectBaseDir=src/libs/vtools
module13.sonar.sources=.
module14.sonar.projectName=VWidgets static library
module14.sonar.projectBaseDir=src/libs/vwidgets
module14.sonar.sources=.