2016-08-26 05:18:57 +12:00
|
|
|
version: 11.2.1.{build}
|
|
|
|
image: Visual Studio 2015
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
- Debug
|
|
|
|
platform: Any CPU
|
|
|
|
shallow_clone: true
|
2016-08-26 14:55:59 +12:00
|
|
|
environment:
|
|
|
|
APIKeys:
|
|
|
|
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA2Hk2acXHrWkg9z6FCGASxRMJjv0+in1v5DxN1BfEPdASmhnYFu6pcINmwibGYjsxySek57cbYUDc69yQfyqX6FUI0kQcEGp8Dh3tHF981Dy
|
2016-08-26 06:24:21 +12:00
|
|
|
before_build:
|
2016-08-26 09:25:12 +12:00
|
|
|
- ps: >-
|
|
|
|
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
|
2016-08-26 09:27:23 +12:00
|
|
|
|
2016-08-26 09:25:12 +12:00
|
|
|
nuget restore
|
2016-08-26 05:18:57 +12:00
|
|
|
build:
|
|
|
|
project: ShareX.sln
|
|
|
|
parallel: true
|
2016-08-26 09:25:12 +12:00
|
|
|
verbosity: minimal
|
2016-08-26 14:55:59 +12:00
|
|
|
after_build:
|
|
|
|
- ps: if ($env:Configuration -eq "Release") { & "ShareX.Setup\bin\Release\ShareX.Setup.exe" -appveyor }
|
2016-08-26 09:25:12 +12:00
|
|
|
artifacts:
|
2016-08-26 14:55:59 +12:00
|
|
|
- path: ShareX.Setup\InnoSetup\Output\ShareX-*-setup.exe
|
|
|
|
name: Setup
|
|
|
|
- path: ShareX.Setup\InnoSetup\Output\ShareX-portable.zip
|
|
|
|
name: Portable
|
2016-08-26 09:25:12 +12:00
|
|
|
- path: ShareX\bin\Release
|
|
|
|
name: Release
|
|
|
|
- path: ShareX\bin\Debug
|
|
|
|
name: Debug
|