Skip to content

Commit

Permalink
Add
Browse files Browse the repository at this point in the history
  • Loading branch information
pengweiqhca committed Nov 12, 2021
1 parent 46eb89e commit 2dc5576
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.

#---------------------------------#
# general configuration #
#---------------------------------#

# version format
# version: 1.0.{build}

# you can use {branch} name in version format too
version: 1.0.{build}-{branch}

image: Visual Studio 2022

# branches to build
branches:
# whitelist
only:
- master

# blacklist
except:
- gh-pages

# Do not build on tags (GitHub and BitBucket)
skip_tags: true

# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: false

# Skipping commits with particular message or from specific user
skip_commits:
# Skipping commits affecting specific files (GitHub only). More details here: /docs/appveyor-yml
files:
- '**/*.md'

#---------------------------------#
# environment configuration #
#---------------------------------#

# scripts to run before build
before_build:
- dotnet --info
- dotnet restore
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
before_package:

# scripts to run after build
after_build:

# to run your custom scripts instead of automatic MSBuild
build_script:
- dotnet build -v n /p:TreatWarningsAsErrors=True
# to disable automatic builds
#build: off

#---------------------------------#
# tests configuration #
#---------------------------------#

# to run your custom scripts instead of automatic tests
test_script:
- dotnet test Xunit.DependencyInjection.Test/Xunit.DependencyInjection.Test.csproj
- dotnet test Xunit.DependencyInjection.Test.AspNetCore/Xunit.DependencyInjection.Test.AspNetCore.csproj

# to disable automatic tests
#test: off

0 comments on commit 2dc5576

Please sign in to comment.