Skip to content

Commit 0a2fb12

Browse files
committed
Updated 'sonar.exclusions' option
1 parent 1f56a45 commit 0a2fb12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ script:
2222
/d:sonar.login="$SONAR_TOKEN" \
2323
/d:sonar.cs.vstest.reportsPaths="${TEST_RESULTS_PATH}/results.trx" \
2424
/d:sonar.cs.opencover.reportsPaths="${TEST_RESULTS_PATH}/coverage.xml" \
25-
/d:sonar.exclusions="${TEST_RESULTS_PATH}/**/*"
25+
/d:sonar.exclusions="**/*.xml" # coverage.xml
2626
- dotnet test -c Release -l:"trx;LogFileName=results.trx" /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="TestResults/coverage.xml"
2727
- dotnet publish -c Release
2828
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"

0 commit comments

Comments
 (0)