forked from vlingo-net/xoom-net-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (40 loc) · 1.21 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
version: 1.10.1.{build}
image:
- Visual Studio 2022
matrix:
allow_failures:
- image: Visual Studio 2022
configuration: Release
skip_commits:
message: /.*\[ci\-skip\].*/
before_build:
- dotnet restore Xoom.Platform.sln
build:
project: Xoom.Platform.sln
verbosity: minimal
publish_nuget: true
test_script:
- dotnet test Xoom.Platform.sln
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
clone_script:
- pwsh: >-
if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
git clone -q --branch=$env:APPVEYOR_REPO_BRANCH https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
cd $env:APPVEYOR_BUILD_FOLDER
git checkout -qf $env:APPVEYOR_REPO_COMMIT
} else {
git clone -q https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
cd $env:APPVEYOR_BUILD_FOLDER
git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge:
git checkout -qf FETCH_HEAD
}
if( $isLinux ) {
sudo ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
}
- pwsh: git submodule update --init --recursive