Skip to content

Commit

Permalink
Merge fb3a52a into 9556ff0
Browse files Browse the repository at this point in the history
  • Loading branch information
elucidsoft committed Nov 16, 2019
2 parents 9556ff0 + fb3a52a commit ead7b73
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 20 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Expand Up @@ -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
2 changes: 1 addition & 1 deletion 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)

Expand Down
30 changes: 16 additions & 14 deletions appveyor.yml
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions nuget.config
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="globalPackagesFolder" value=".\packages" />
</config>
</configuration>
Binary file added packages-microsoft-prod.deb
Binary file not shown.
3 changes: 2 additions & 1 deletion stellar-dotnet-sdk-test/stellar-dotnet-sdk-test.csproj
Expand Up @@ -15,6 +15,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="coveralls.io" Version="1.4.2"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="Moq" Version="4.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
Expand Down Expand Up @@ -242,4 +243,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
</Project>

0 comments on commit ead7b73

Please sign in to comment.