Skip to content

Commit

Permalink
Merge pull request #11 from guibranco/develop
Browse files Browse the repository at this point in the history
Update appveyor.yml
  • Loading branch information
guibranco committed Sep 22, 2019
2 parents 0151909 + 18ca516 commit 52cdea2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 2 additions & 4 deletions ViaCEP/ViaCEP.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -10,16 +9,15 @@
<PackageProjectUrl>https://github.com/guibranco/ViaCEP/</PackageProjectUrl>
<RepositoryUrl>https://github.com/guibranco/ViaCEP</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
<PackageReleaseNotes>The first release</PackageReleaseNotes>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageTags>cep zipcode postalcode postal zip address location api webservice brasil brazil correios ibge gia mf fazenda</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/guibranco/ViaCEP/master/logo.png</PackageIconUrl>
<Version>1.0.0</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<PackageLicenseUrl>https://github.com/guibranco/ViaCEP/blob/master/LICENSE</PackageLicenseUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
</ItemGroup>

</Project>
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ build:
build_script:
- dotnet tool install --global dotnet-sonarscanner
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet
sonarscanner begin /k:"guibranco_ViaCEP"
/d:sonar.organization="guibranco-github"
sonarscanner begin
/k:"guibranco_ViaCEP"
/o:"guibranco-github"
/d:sonar.host.url="https://sonarcloud.io"
/d:sonar.login="$env:SONAR_TOKEN" /v:"$env:APPVEYOR_BUILD_NUMBER"
/d:sonar.login="$env:SONAR_TOKEN"
/v:"$env:APPVEYOR_BUILD_NUMBER"
/d:sonar.exclusions="**/bin/**/*,**/obj/**/*"
/d:sonar.coverage.exclusions="ViaCEP.Tests/**,**/*Tests.cs"
/d:sonar.cs.opencover.reportsPaths="$env:CD\ViaCEP.Tests\coverage.opencover.xml" }'
Expand Down

0 comments on commit 52cdea2

Please sign in to comment.