forked from brantburnett/Couchbase.Extensions
-
Notifications
You must be signed in to change notification settings - Fork 14
/
appveyor.yml
38 lines (38 loc) · 1018 Bytes
/
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
image: Visual Studio 2022
version: '{build}'
branches:
only:
- master
configuration: Release
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
nuget:
disable_publish_on_pr: true
before_build:
- cmd: appveyor-retry dotnet restore -v Minimal
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal
after_build:
- cmd: dotnet pack --configuration %CONFIGURATION% "Couchbase.Extensions.sln"
test_script:
- cmd: dotnet test "tests\Couchbase.Extensions.Caching.UnitTests"
- cmd: dotnet test "tests\Couchbase.Extensions.Locks.UnitTests"
artifacts:
- path: artifacts/package/%CONFIGURATION%/*.*nupkg
name: Session
deploy:
- provider: NuGet
api_key:
secure: KzT1ESVyB5LB0Ovg+dPUmvZYQJ0XYoBEe9DW1pBDKzv0y/7y2RlJ1xt16ZI5dnVE
artifact: Locks
on:
APPVEYOR_REPO_TAG: true
notifications:
- provider: GitHubPullRequest
auth_token:
secure: ULHzhdaGoUWJwQqameGnvmg+61OInc0YMit2rTezp2pi3ZB4ehCq4T0h3WbnVEcu
on_build_success: true
on_build_failure: true
on_build_status_changed: true