version: '{build}'
branches:
  only:
  - master
image: Visual Studio 2019
init:
- cmd: set GITVERSION_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER%
nuget:
  disable_publish_on_pr: true
  disable_publish_octopus: true
build:
  project: build/Palaso.proj
  publish_nuget: true
  publish_nuget_symbols: true
  use_snupkg_format: true
  verbosity: minimal
test:
  assemblies:
    except:
    - SIL.TestUtilities.dll
  categories:
    except:
    - SkipOnTeamCity
artifacts:
- path: output/*nupkg
  name: nuget
deploy:
- provider: Environment
  name: sil-lsdev nuget
notifications:
- provider: GitHubPullRequest
  on_build_success: false
  on_build_failure: false
  on_build_status_changed: false

version: '{build}'
branches:
  only:
  - master
image: Visual Studio 2019
init:
  - cmd: >-
      set GITVERSION_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER%

      if defined APPVEYOR_PULL_REQUEST_NUMBER set GitVersion_NoNormalizeEnabled=true
nuget:
  disable_publish_on_pr: true
  disable_publish_octopus: true
build:
  project: build/Palaso.proj
  publish_nuget: true
  publish_nuget_symbols: true
  use_snupkg_format: true
  verbosity: minimal
test:
  assemblies:
    except:
    - SIL.TestUtilities.dll
  categories:
    except:
    - SkipOnTeamCity
artifacts:
- path: output/*nupkg
  name: nuget
deploy:
- provider: Environment
  name: sil-lsdev nuget
notifications:
- provider: GitHubPullRequest
  on_build_success: false
  on_build_failure: false
  on_build_status_changed: false

Add workaround for GitVersion bugs on AppVeyor
Add workaround for GitVersion bugs on AppVeyor

GitVersion.MsBuild 5.6.x crashes when running on AppVeyor unless we
set this environment variable.
