-
Notifications
You must be signed in to change notification settings - Fork 24
/
appveyor.yml
44 lines (44 loc) · 1.35 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
image: Visual Studio 2019
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% "src/Couchbase.Extensions.Session"
- cmd: dotnet pack --configuration %CONFIGURATION% "src/Couchbase.Extensions.Caching"
- cmd: dotnet pack --configuration %CONFIGURATION% "src/Couchbase.Extensions.Locks"
test_script:
- cmd: dotnet test "tests\Couchbase.Extensions.Caching.UnitTests"
- cmd: dotnet test "tests\Couchbase.Extensions.Locks.UnitTests"
artifacts:
- path: src/Couchbase.Extensions.Session/bin/%CONFIGURATION%/*.nupkg
name: Session
- path: src/Couchbase.Extensions.Caching/bin/%CONFIGURATION%/*.nupkg
name: Caching
- path: src/Couchbase.Extensions.Locks/bin/%CONFIGURATION%/*.nupkg
name: Locks
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