-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
74 lines (68 loc) · 2.2 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: 1.0.{build}
image: Visual Studio 2022
configuration: Release
#environment:
# matrix:
# - SOLUTION_NAME: Anabasis.Api
# - SOLUTION_NAME: Anabasis.EventStore
# - SOLUTION_NAME: Anabasis.EventStore.Standalone
# - SOLUTION_NAME: Anabasis.EventStore.Snapshot.InMemory
# - SOLUTION_NAME: Anabasis.RabbitMQ
# - SOLUTION_NAME: Anabasis.Common
# - SOLUTION_NAME: Anabasis.EntityFramework
# - SOLUTION_NAME: Anabasis.Deployment
branches:
only:
- master
nuget:
disable_publish_on_pr: true
test: off
build_script:
- ps: ./build.ps1 -SkipIntegrationTests true -SkipTests true
#before_build:
#- cmd: docker-compose down
#- cmd: docker-compose up
#nuget:
# disable_publish_on_pr: true
#build_script:
#- cmd: dotnet msbuild /restore /p:Configuration=Release /p:version=%APPVEYOR_BUILD_VERSION% -verbosity:minimal %SOLUTION_NAME%.sln
#after_test:
#- cmd: appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\%SOLUTION_NAME%\bin\Release\%SOLUTION_NAME%.%APPVEYOR_BUILD_VERSION%.nupkg
#test:
# assemblies:
# only:
# - '**\*.Tests.dll'
# categories:
# except:
# - Integration
#test: off
#test_script:
#- cmd: |
# cd %APPVEYOR_BUILD_FOLDER%
# dotnet test Anabasis.EventStore.Tests\Anabasis.EventStore.Tests.csproj --configuration Release --no-build --no-restore
# test_script:
# - ps: |
# if ($env:SOLUTION_NAME -eq "Anabasis.EventStore")
# {
# cd $env:APPVEYOR_BUILD_FOLDER ; dotnet test Anabasis.EventStore.Tests\Anabasis.EventStore.Tests.csproj --configuration Release --no-build --no-restore
# }
# IF ($env:SOLUTION_NAME -eq "Anabasis.EventStore") {cd $env:APPVEYOR_BUILD_FOLDER ; dotnet test Anabasis.EventStore.Tests\Anabasis.EventStore.Tests.csproj --configuration Release --no-build --no-restore}
# test:
# assemblies:
# only:
# - '**\*.Tests.dll'
# categories:
# except:
# - Integration
#test_script:
#- cmd: |
# cd %APPVEYOR_BUILD_FOLDER%
# dotnet test Anabasis.EventStore.Tests\Anabasis.EventStore.Tests.csproj --configuration Release --no-build --no-restore
deploy:
provider: NuGet
api_key:
secure: 0jv3285WXG6tbW+xL4Ap4ZhBPOQ7CYUoVq6tOdqCh/1WnwU1eyCcWxEHXXBe9nQE
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master