-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
67 lines (67 loc) · 1.89 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
64
65
66
67
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.Directory.sln
build:
project: src/Vlingo.Xoom.Directory.sln
verbosity: minimal
publish_nuget: true
for:
-
matrix:
only:
- image: Ubuntu
before_test:
- sudo ufw disable
- sudo ufw reload
- sudo ufw status verbose
- sudo sysctl net.ipv4.ip_local_port_range
- sudo sysctl net.ipv4.tcp_fin_timeout
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 2022
before_test:
- netsh advfirewall set currentprofile state off
after_test:
- netsh advfirewall set currentprofile state on
test_script:
- dotnet test -l "console;verbosity=detailed" src/Vlingo.Xoom.Directory.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