diff --git a/.gitignore b/.gitignore index 2de4ef46b..1e65569fb 100644 --- a/.gitignore +++ b/.gitignore @@ -32,10 +32,11 @@ msbuild.err msbuild.wrn package/lib/ +packages/ # Visual Studio 2015 -.vs/ -*.DotSettings -.idea/.idea.stellar-dotnetcore-sdk/.idea/workspace.xml -stellar-dotnet-sdk-test/coverage.opencover.xml +.vs/ +*.DotSettings +.idea/.idea.stellar-dotnetcore-sdk/.idea/workspace.xml +stellar-dotnet-sdk-test/coverage.opencover.xml diff --git a/README.md b/README.md index 2e50cad26..6c1bfb465 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dotnet-stellar-sdk [![Build status](https://ci.appveyor.com/api/projects/status/n34q6l3wyar2rq5l/branch/master?svg=true)](https://ci.appveyor.com/project/elucidsoft/dotnet-stellar-sdk/branch/master) -[![codecov](https://codecov.io/gh/elucidsoft/dotnet-stellar-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/elucidsoft/dotnet-stellar-sdk) +[![Coverage Status](https://coveralls.io/repos/github/elucidsoft/dotnet-stellar-sdk/badge.svg?branch=coveralls)](https://coveralls.io/github/elucidsoft/dotnet-stellar-sdk?branch=coveralls) [![CodeFactor](https://www.codefactor.io/repository/github/elucidsoft/dotnet-stellar-sdk/badge)](https://www.codefactor.io/repository/github/elucidsoft/dotnet-stellar-sdk) [![NuGet Badge](https://buildstats.info/nuget/stellar-dotnet-sdk)](https://www.nuget.org/packages/stellar-dotnet-sdk) diff --git a/appveyor.yml b/appveyor.yml index 0fe4a6ed3..95f0e8cc2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,33 +3,35 @@ pull_requests: do_not_increment_build_number: true os: Visual Studio 2017 before_build: -- cmd: dotnet restore stellar-dotnet-sdk.sln + - cmd: dotnet restore stellar-dotnet-sdk.sln dotnet_csproj: patch: true file: '**\*.csproj' - version: '{version}' - package_version: '{version}' - assembly_version: '{version}' - file_version: '{version}' - informational_version: '{version}' + version: "{version}" + package_version: "{version}" + assembly_version: "{version}" + file_version: "{version}" + informational_version: "{version}" artifacts: - - path: '**\*.nupkg' + - path: 'stellar-dotnet-sdk\**\*.nupkg' name: nuget build: project: stellar-dotnet-sdk.sln parallel: true verbosity: minimal test_script: - - cmd: dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:ExcludeByFile=\"../stellar-dotnet-sdk/chaos.nacl/**/*.cs\" -p:ExcludeByFile=\"../stellar-dotnet-sdk-xdr/generated/*.cs\" ./stellar-dotnet-sdk-test --test-adapter-path:. --logger:Appveyor + - cmd: dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:ExcludeByFile=\"../stellar-dotnet-sdk/chaos.nacl/**/*.cs\" -p:ExcludeByFile=\"../stellar-dotnet-sdk-xdr/generated/*.cs\" ./stellar-dotnet-sdk-test --test-adapter-path:. --logger:Appveyor after_test: - - ps: | - $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH - Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh - bash codecov.sh -f "./stellar-dotnet-sdk-test/coverage.opencover.xml" -t 3d1827ed-854c-484b-a639-02544eb921b8 + - cmd: packages\coveralls.io\1.4.2\tools\coveralls.net.exe --opencover "./stellar-dotnet-sdk-test/coverage.opencover.xml" -r %COVERALLS_REPO_TOKEN% + +environment: + COVERALLS_REPO_TOKEN: + secure: Oo/jr37r3k/ZwDMKK/varxVllvTUUX8aGd/lpZ0eB0+i4Gxno6WsExeLNYNLD2hz + deploy: on: - branch: master - APPVEYOR_REPO_TAG: true + branch: master + APPVEYOR_REPO_TAG: true provider: NuGet api_key: secure: vm+rrsWiV8YUExTehIEf2ACt0R0xDzYJ0OoHvNlu7hGZfvnop/tpbuamDm16uArT diff --git a/nuget.config b/nuget.config new file mode 100644 index 000000000..2c0d0bcff --- /dev/null +++ b/nuget.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/packages-microsoft-prod.deb b/packages-microsoft-prod.deb new file mode 100644 index 000000000..a9114940b Binary files /dev/null and b/packages-microsoft-prod.deb differ diff --git a/stellar-dotnet-sdk-test/stellar-dotnet-sdk-test.csproj b/stellar-dotnet-sdk-test/stellar-dotnet-sdk-test.csproj index c7aec58f1..1cb44f96e 100644 --- a/stellar-dotnet-sdk-test/stellar-dotnet-sdk-test.csproj +++ b/stellar-dotnet-sdk-test/stellar-dotnet-sdk-test.csproj @@ -15,6 +15,7 @@ all runtime; build; native; contentfiles; analyzers + @@ -242,4 +243,4 @@ PreserveNewest - \ No newline at end of file +