Skip to content

Commit 1b7b6f6

Browse files
committed
Added trx test results for SonarCloud
1 parent 256beff commit 1b7b6f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install:
1212
before_script:
1313
- export PATH="$PATH:$HOME/.dotnet/tools"
1414
script:
15-
- dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.organization="$SONAR_ORGANIZATION_KEY" /d:sonar.host.url="$SONAR_URL" /d:sonar.login="$SONAR_TOKEN"
16-
- dotnet test -c Release
15+
- dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.organization="$SONAR_ORGANIZATION_KEY" /d:sonar.host.url="$SONAR_URL" /d:sonar.login="$SONAR_TOKEN" /d:sonar.cs.vstest.reportsPaths="%CD%\results.trx"
16+
- dotnet test -c Release -l:"trx;LogFileName=results.trx"
1717
- dotnet publish -c Release
1818
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"

0 commit comments

Comments
 (0)