Skip to content

Commit 172867c

Browse files
committed
Removed 'sonar.exclusions' option
1 parent 0a2fb12 commit 172867c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ script:
2121
/d:sonar.host.url="$SONAR_URL" \
2222
/d:sonar.login="$SONAR_TOKEN" \
2323
/d:sonar.cs.vstest.reportsPaths="${TEST_RESULTS_PATH}/results.trx" \
24-
/d:sonar.cs.opencover.reportsPaths="${TEST_RESULTS_PATH}/coverage.xml" \
25-
/d:sonar.exclusions="**/*.xml" # coverage.xml
24+
/d:sonar.cs.opencover.reportsPaths="${TEST_RESULTS_PATH}/coverage.xml"
2625
- dotnet test -c Release -l:"trx;LogFileName=results.trx" /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="TestResults/coverage.xml"
2726
- dotnet publish -c Release
2827
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"

0 commit comments

Comments
 (0)