diff --git a/.appveyor.yml b/.appveyor.yml index 592e1a9..fb9c9cf 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -45,8 +45,8 @@ build_script: - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { MSBuild.SonarQube.Runner.exe begin /k:"ndbunit2" /d:"sonar.organization=savornicesei-github" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=$env:SQTOKEN" /d:"sonar.analysis.mode=preview" /d:"sonar.github.pullRequest=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.github.repository=https://github.com/savornicesei/NDbUnit2" /d:"sonar.github.oauth=$env:GHTOKEN" /d:"sonar.branch.target=$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH" } - ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { MSBuild.SonarQube.Runner.exe begin /k:"ndbunit2" /d:"sonar.organization=savornicesei-github" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=$env:SQTOKEN" /d:"sonar.github.repository=https://github.com/savornicesei/NDbUnit2" /d:"sonar.github.oauth=$env:GHTOKEN" /d:"sonar.branch.name=$env:APPVEYOR_REPO_BRANCH" /d:sonar.cs.nunit.reportsPaths="TestResult.xml" /d:sonar.cs.opencover.it.reportsPaths="coverage.xml" } - dotnet build -v q "NDbUnit.sln" - - '"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where "cat != OracleTests" --noshadow --framework=net-4.5 --result=TestResult.xml & exit 0' - - '"..\packages\opencover\4.6.519\tools\OpenCover.Console.exe" -register:user -target:"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" -targetargs:"test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where "cat != OracleTests" --noshadow --framework=net-4.5" -filter:"+[NDbUnit.*]* -[NDbUnit.Test]*" -output:"coverage.xml" & exit 0' + - '"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where "cat != OracleTests" --framework=net-4.5 --result=TestResult.xml & exit 0' + - '"..\packages\opencover\4.6.519\tools\OpenCover.Console.exe" -register:user -target:"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" -targetargs:"test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where \"cat != OracleTests\" --framework=net-4.5" -filter:"+[NDbUnit.*]* -[NDbUnit.Test]*" -output:"coverage.xml" & exit 0' - MSBuild.SonarQube.Runner.exe end /d:"sonar.login=%SQTOKEN%" test_script: diff --git a/.develop.appveyor.yml b/.develop.appveyor.yml index 3614eb5..15489ab 100644 --- a/.develop.appveyor.yml +++ b/.develop.appveyor.yml @@ -51,8 +51,8 @@ build_script: - dir - dir .. - dir ..\packages - - '"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where "cat != OracleTests" --noshadow --framework=net-4.5 --result=TestResult.xml & exit 0' - - '"..\packages\opencover\4.6.519\tools\OpenCover.Console.exe" -register:user -target:"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" -targetargs:"test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where "cat != OracleTests" --noshadow --framework=net-4.5" -filter:"+[NDbUnit.*]* -[NDbUnit.Test]*" -output:"coverage.xml" & exit 0' + - '"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where "cat != OracleTests" --framework=net-4.5 --result=TestResult.xml & exit 0' + - '"..\packages\opencover\4.6.519\tools\OpenCover.Console.exe" -register:user -target:"..\packages\nunit.consolerunner\3.7.0\tools\nunit3-console.exe" -targetargs:"test\NDbUnit.Test\build\Debug\net452\NDbUnit.Test.dll --where \"cat != OracleTests\" --framework=net-4.5" -filter:"+[NDbUnit.*]* -[NDbUnit.Test]*" -output:"coverage.xml" & exit 0' - MSBuild.SonarQube.Runner.exe end /d:"sonar.login=%SQTOKEN%" test_script: