version: 1.1.{build}
pull_requests:
  do_not_increment_build_number: true
image: Visual Studio 2017
configuration: Release
assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
nuget:
  project_feed: true
  disable_publish_on_pr: true
before_build:
- ps: nuget restore
build:
  parallel: true
  verbosity: minimal
artifacts:
- path: '**\*.nupkg'
  name: Tsarev Analyzer NuGet
deploy:
- provider: NuGet
  api_key:
    secure: xWsf2rExtqDyT/CWQObnkecDiF7yTSty8Gp8HzRi11erJuXJ8KpdQ7gV7X0rTpD5
  on:
    branch: master
version: 1.1.{build}
pull_requests:
  do_not_increment_build_number: true
image: Visual Studio 2017
configuration: Release
assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
nuget:
  project_feed: true
  disable_publish_on_pr: true
before_build:
- ps: nuget restore
build:
  parallel: true
  verbosity: minimal
artifacts:
- path: '**\Tsarev.*.nupkg'
  name: Tsarev Analyzer NuGet
deploy:
- provider: NuGet
  api_key:
    secure: xWsf2rExtqDyT/CWQObnkecDiF7yTSty8Gp8HzRi11erJuXJ8KpdQ7gV7X0rTpD5
  on:
    branch: master
cache:
  - packages -> **\packages.config  
Use package cache; remove not my packages from artifacts
Use package cache; remove not my packages from artifacts
