-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
63 lines (63 loc) · 1.68 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
version: 1.10.1.{build}
image:
- Visual Studio 2022
- Ubuntu
- macOS
- macOS-Monterey
- macOS-Bigsur
configuration: Release
skip_commits:
message: /.*\[ci\-skip\].*/
before_build:
- dotnet restore src/Vlingo.Xoom.Wire.sln
build:
project: src/Vlingo.Xoom.Wire.sln
verbosity: minimal
publish_nuget: true
for:
-
matrix:
only:
- image: Ubuntu
before_test:
- sudo ufw disable
after_test:
- sudo ufw enable
-
matrix:
only:
- image: macOS
- image: macOS-Mojave
before_test:
- sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0
- sudo launchctl unload /System/Library/LaunchDaemons/com.apple.alf.agent.plist
- sudo launchctl load /System/Library/LaunchDaemons/com.apple.alf.agent.plist
after_test:
- sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1
- sudo launchctl unload /System/Library/LaunchDaemons/com.apple.alf.agent.plist
- sudo launchctl load /System/Library/LaunchDaemons/com.apple.alf.agent.plist
-
matrix:
only:
- image: Visual Studio 2019
before_test:
- netsh advfirewall set currentprofile state off
after_test:
- netsh advfirewall set currentprofile state on
test_script:
- dotnet test src/Vlingo.Xoom.Wire.Tests
deploy:
- provider: NuGet
api_key:
secure: 4VJZEFZNaDrk3FJmRSmBW+wQugDoPi6DtVlsLZ+26IOo+wb0u9JlnTOTQF+NXs2s
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/37621a855e91c31ab1da
method: POST
on_build_success: true
on_build_failure: true
on_build_status_changed: true