-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
44 lines (35 loc) · 983 Bytes
/
appveyor.yml
File metadata and controls
44 lines (35 loc) · 983 Bytes
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
version: 1.0.{build}
image: Visual Studio 2017
platform: Any CPU
configuration: Release
skip_commits:
files:
- '**/*.md'
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
before_build:
- choco install rabbitmq --ignoredependencies -y
- dotnet restore
after_build:
- dotnet pack --include-symbols --configuration %CONFIGURATION% --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: nupkgs/*.nupkg
build_script:
- cmd: dotnet build --configuration %CONFIGURATION%
test_script:
- cmd: dotnet test tests/App.Metrics.Health.Checks.RabbitMQ.Tests
deploy:
provider: NuGet
api_key:
secure: zENvH3gbuZCsYxkF3LVve2nDsR8lfcYsdEUshfED6zrmV5i87aF/sdofSiVWPmMC
skip_symbols: false
artifacts: /.*\.nupkg/