-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
38 lines (37 loc) · 1.22 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: 9.0.{build}
pull_requests:
do_not_increment_build_number: true
os: Visual Studio 2022
before_build:
- cmd: dotnet restore stellar-dotnet-sdk.sln
- cmd: dotnet tool restore
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: "{version}"
package_version: "{version}"
assembly_version: "{version}"
file_version: "{version}"
informational_version: "{version}"
artifacts:
- path: 'stellar-dotnet-sdk\**\*.nupkg'
name: nuget
- path: 'stellar-dotnet-sdk-xdr\**\*.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
after_test:
- cmd: packages\coveralls.io\1.4.2\tools\coveralls.net.exe --opencover "./stellar-dotnet-sdk-test/coverage.opencover.xml" -r %COVERALLS_REPO_TOKEN%
deploy:
on:
branch: master
APPVEYOR_REPO_TAG: true
provider: NuGet
api_key:
secure: s3Ldue+th/hm7rV3x4mKt/DgyqSrNHYYxk4cPQPeKmkfHNinH4KcJkNjjICtT91p
skip_symbols: false
artifact: nuget