From dde9fd86f2dacdb392cbd61ca92fc6ac91b9e309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Fri, 16 Dec 2016 18:11:26 +0100 Subject: [PATCH] Use VS2017RC beta image on appveyor --- appveyor.yml | 4 +++- scripts/ps/appveyor_deploy.ps1 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7ff10f3cdc..c5016221fd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,7 @@ version: 0.0.5.{build} -os: Previous Visual Studio 2015 +image: + - Visual Studio 2015 + - Visual Studio 2017 RC cache: - C:\ProgramData\chocolatey\bin -> scripts\ps\appveyor_install.ps1 - C:\ProgramData\chocolatey\lib -> scripts\ps\appveyor_install.ps1 diff --git a/scripts/ps/appveyor_deploy.ps1 b/scripts/ps/appveyor_deploy.ps1 index 55a5363f9f..fa4a605483 100644 --- a/scripts/ps/appveyor_deploy.ps1 +++ b/scripts/ps/appveyor_deploy.ps1 @@ -3,7 +3,9 @@ ########################################### $testing = (${env:Configuration} -like "*tests") -if (-not $testing) +# Only deploy from VS2015 for now. +$vs2015 = (${env:APPVEYOR_JOB_NAME} -like "*2015*") +if (-not $testing -and $vs2015) { # Check if OpenRCT2.org API security token is available if (${env:OPENRCT2_ORG_TOKEN})