-
Notifications
You must be signed in to change notification settings - Fork 14
/
appveyor.yml
64 lines (54 loc) · 1.51 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
version: 2.10.1.{build}
image:
- Ubuntu2004
- Visual Studio 2013
- Visual Studio 2017
- Visual Studio 2022
skip_tags: true
for:
- matrix:
only:
- image: Visual Studio 2013
before_build:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v4.9.2/nuget.exe
- appveyor DownloadFile https://raw.githubusercontent.com/appveyor/ci/master/scripts/nuget-restore.cmd
- nuget-restore XMLUnit.NET.NetFramework.sln
cache:
- packages -> **\packages.config
# tests are already run during build phase
test: off
build:
project: XMLUnit.NET.NetFramework.sln
- matrix:
only:
- image: Visual Studio 2017
- image: Visual Studio 2022
- image: Ubuntu2004
before_build:
- dotnet restore XMLUnit.NET.sln
- dotnet --version
build:
project: XMLUnit.NET.sln
test_script:
- dotnet test src/tests/net-core/XMLUnit.Core.Tests.csproj
- dotnet test src/tests/net-constraints-nunit3/XMLUnit.NUnit3.Constraints.Test.csproj
- dotnet test src/tests/net-placeholders/XMLUnit.Placeholders.Tests.csproj
install:
- cmd: git submodule update --init
- sh: git submodule update --init
configuration:
- Debug
matrix:
fast_finish: true
notifications:
- provider: Email
on_build_status_changed: true
on_build_failure: true
to:
nuget:
disable_publish_on_pr: true
project_feed: true
build:
publish_nuget: true
publish_nuget_symbols: true