Skip to content

Instantly share code, notes, and snippets.

@bodewig
Created January 23, 2022 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bodewig/258fcc1fa05358a09608f10edef3f226 to your computer and use it in GitHub Desktop.
Save bodewig/258fcc1fa05358a09608f10edef3f226 to your computer and use it in GitHub Desktop.
appveyor.yml for XMLUnit.Net
version: 2.9.2.{build}
image:
- Visual Studio 2013
- Visual Studio 2017
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
before_build:
- dotnet restore XMLUnit.NET.sln
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
configuration:
- Debug
- Release
matrix:
fast_finish: true
notifications:
- provider: Email
to:
- xmlunit-commits@lists.sourceforge.net
on_build_status_changed: true
on_build_failure: true
nuget:
project_feed: true
disable_publish_on_pr: true
build:
publish_nuget: true
publish_nuget_symbols: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment