diff options
-rw-r--r-- | appveyor.yml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/appveyor.yml b/appveyor.yml index becb8cf090..756c7fea2e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,17 +14,9 @@ configuration: init: - ps: | # Pull requests: skip some build configurations to save time. - if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) { - if ($env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') { - $env:APPVEYOR_CACHE_SKIP_SAVE = "true" - Exit-AppVeyorBuild - } - } else { - # Non-PRs: skip MSVC_32 run for PRs already. - if ($env:CONFIGURATION -match '^(MSVC_32)$') { - $env:APPVEYOR_CACHE_SKIP_SAVE = "true" - Exit-AppVeyorBuild - } + if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') { + $env:APPVEYOR_CACHE_SKIP_SAVE = "true" + Exit-AppVeyorBuild } # RDP #- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |