forked from asynkron/protoactor-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (29 loc) · 1.05 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
image: Visual Studio 2017
version: '{branch}-{build}'
configuration:
- Release
environment:
# Don't report back to the mothership
DOTNET_CLI_TELEMETRY_OPTOUT: 1
nuget:
disable_publish_on_pr: true
before_build:
- nuget install Cake -ExcludeVersion
build_script:
- .\Cake\Cake.exe --target=PrintEnvironment
- .\Cake\Cake.exe --target=PatchVersion --buildNumber=%APPVEYOR_BUILD_NUMBER% --currentBranch=%APPVEYOR_REPO_BRANCH% --pullRequestTitle="%APPVEYOR_PULL_REQUEST_TITLE%"
- .\Cake\Cake.exe --target=Restore
- .\Cake\Cake.exe --target=Build
test_script:
- .\Cake\Cake.exe --target=UnitTest
after_test:
- .\Cake\Cake.exe --target=Pack --pullRequestTitle="%APPVEYOR_PULL_REQUEST_TITLE%"
artifacts:
- path: out\*
deploy_script:
- .\Cake\Cake.exe --target=Push --mygetApiKey=%MYGET_API_KEY% --nugetApiKey=%NUGET_API_KEY% --currentBranch=%APPVEYOR_REPO_BRANCH% --pullRequestTitle="%APPVEYOR_PULL_REQUEST_TITLE%"
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/8d1651e59df7003d4a75
on_build_success: true
on_build_failure: true