version: 0.0.{build}

install:
  - cmd: git submodule update --init
  - ps:  .\prebuild.ps1

platform: Any CPU
configuration: Release

build:
  publish_nuget: true

build_script:
  - ps: .\build.ps1 -Target Package # -Verbosity Diagnostic

artifacts:
  - path: YamlDotNet\bin\Release-Unsigned
    name: Release-Unsigned

  - path: YamlDotNet\bin\Release-Signed
    name: Release-Signed

  - path: YamlDotNet\bin\Release-Portable-Unsigned
    name: Release-Portable-Unsigned

  - path: YamlDotNet\bin\Release-Portable-Signed
    name: Release-Portable-Signed

  - path: YamlDotNet\bin\Release-UnitySubset-v35
    name: Release-UnitySubset-v35

  - path: YamlDotNet\bin\*.nupkg

deploy:
  - provider: NuGet
    api_key:
      secure: GMc0xUTASI8qTPK1/eN/GFs6PBhPFBin1TT1hE5N8NlkU7VSBx3z4zQinSv/ICmx
    artifact: /.*\.nupkg/

test: off

version: 0.0.{build}

install:
  - cmd: git submodule update --init
  - ps:  .\prebuild.ps1

platform: Any CPU
configuration: Release
image:
  - Visual Studio 2017

build:
  publish_nuget: true

build_script:
  - ps: .\build.ps1 -Target Package # -Verbosity Diagnostic

artifacts:
  - path: YamlDotNet\bin\Release-Unsigned
    name: Release-Unsigned

  - path: YamlDotNet\bin\Release-Signed
    name: Release-Signed

  - path: YamlDotNet\bin\Release-Portable-Unsigned
    name: Release-Portable-Unsigned

  - path: YamlDotNet\bin\Release-Portable-Signed
    name: Release-Portable-Signed

  - path: YamlDotNet\bin\Release-UnitySubset-v35
    name: Release-UnitySubset-v35

  - path: YamlDotNet\bin\*.nupkg

deploy:
  - provider: NuGet
    api_key:
      secure: GMc0xUTASI8qTPK1/eN/GFs6PBhPFBin1TT1hE5N8NlkU7VSBx3z4zQinSv/ICmx
    artifact: /.*\.nupkg/

test: off

Configure AppVeyor to use VS2017 build system
Configure AppVeyor to use VS2017 build system
