os: Visual Studio 2017
version: 1.1.0.{build}
configuration: Release
platform:
  - x86
  - x64
skip_branch_with_pr: true
install:
- cmd: git submodule update --init --recursive
assembly_info:
  patch: true
  file: NppGist\Properties\AssemblyInfo.cs;NppGist.Tests\Properties\AssemblyInfo.cs;
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
before_build:
- cmd: >-
    nuget restore NppGist.sln
build:
  project: NppGist.sln
  verbosity: minimal
test:
  assemblies:
  - NppGist.Tests\Unit\bin\x86\$(configuration)\*.Tests.dll
after_test:
- cmd: >-
    cd NppGist\bin

    7z a NppGist-x86-%APPVEYOR_BUILD_VERSION%.zip x86\%CONFIGURATION%\NppGist.dll

    7z a NppGist-x64-%APPVEYOR_BUILD_VERSION%.zip x64\%CONFIGURATION%\NppGist.dll
artifacts:
- path: bin\NppGist-x86-$(APPVEYOR_BUILD_VERSION).zip
  name: NppGist-x86
- path: bin\NppGist-x64-$(APPVEYOR_BUILD_VERSION).zip
  name: NppGist-x64
os: Visual Studio 2017
version: 1.1.0.{build}
configuration: Release
platform:
  - x86
  - x64
skip_branch_with_pr: true
install:
- cmd: git submodule update --init --recursive
assembly_info:
  patch: true
  file: NppGist\Properties\AssemblyInfo.cs;NppGist.Tests\Properties\AssemblyInfo.cs;
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
before_build:
- cmd: >-
    nuget restore NppGist.sln
build:
  project: NppGist.sln
  verbosity: minimal
test:
  assemblies:
  - NppGist.Tests\Unit\bin\$(PLATFORM)\$(CONFIGURATION)\*.Tests.dll
after_test:
- cmd: >-
    7z a NppGist-%PLATFORM%-%APPVEYOR_BUILD_VERSION%.zip NppGist\bin\%PLATFORM%\%CONFIGURATION%\NppGist.dll
artifacts:
- path: NppGist-$(PLATFORM)-$(APPVEYOR_BUILD_VERSION).zip
  name: NppGist-$(PLATFORM)
Use %CONFIGURATION% variable instead of certain values.
Use %CONFIGURATION% variable instead of certain values.
