Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (42 sloc) 1.19 KB
image: Visual Studio 2017
configuration: Debug
# hack until donet patching works with PR
init:
- cmd: if DEFINED APPVEYOR_PULL_REQUEST_NUMBER (Set build_number=1) ELSE (Set build_number=%APPVEYOR_BUILD_NUMBER%)
environment:
app_version: '3.1.0'
version: '$(app_version).{build}'
dotnet_csproj:
patch: true
file: '**\*.csproj'
assembly_version: '$(app_version).$(build_number)'
file_version: '$(app_version).$(build_number)'
informational_version: '$(app_version).$(build_number)'
cache:
packages -> **\*.csproj # preserve "packages" directory in the root of build folder but will reset it if a project file is modified
before_build:
nuget restore
nuget:
disable_publish_on_pr: true
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal
test:
assemblies:
- OSPSuite.BDDHelper.Tests.dll
skip_branch_with_pr: true
skip_tags: true
branches:
only:
- master
- develop
skip_commits:
files:
- '*.md'
pull_requests:
do_not_increment_build_number: true
notifications:
- provider: Slack
incoming_webhook:
secure: 4MH9Em6TtrKalq6808dhPOqypTfYBJvVlqPaa9akNyFEAs8X080yIO8g1FLt3tNfBN4OpeBnkgrXzf7AqNKV5561x7Coux3ByGrHmsL1sCo=
You can’t perform that action at this time.