Skip to content

Commit

Permalink
Merge pull request #3 from guibranco/develop
Browse files Browse the repository at this point in the history
Fix test execution on appveyor
  • Loading branch information
guibranco committed Feb 15, 2019
2 parents 694e50e + d39bc74 commit 4b458de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ build_script:
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner begin /k:"guibranco_CEPAberto" /d:sonar.organization="guibranco-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:SONAR_TOKEN" /v:"$env:APPVEYOR_BUILD_NUMBER" /d:sonar.cs.opencover.reportsPaths="$env:CD\coverage.xml" }'
- dotnet build
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner end /d:sonar.login="$env:SONAR_TOKEN" }'
test_script:
- ps: dotnet test .\ViaCEP.Tests\ViaCEP.Tests.csproj
after_build:
- xcopy C:\projects\viacep\ViaCEP\bin\Release\netstandard2.0\*.* C:\projects\viacep\src\
- rd /s /q C:\projects\viacep\ViaCEP\bin\Release\
Expand Down

0 comments on commit 4b458de

Please sign in to comment.