Skip to content

Commit

Permalink
CI/AppVeyor: do skip-logic earlier neovim#9854
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk authored Apr 7, 2019
1 parent a7a5629 commit c5e8924
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 7 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ configuration:
- MINGW_64
- MINGW_32
- MINGW_64-gcov
init:
- ps: |
# For pull requests, skip some build configurations to save time.
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32|MINGW_64-gcov)$') {
$env:APPVEYOR_CACHE_SKIP_SAVE = "true"
Exit-AppVeyorBuild
}
matrix:
allow_failures:
- configuration: MINGW_64-gcov
Expand Down
5 changes: 0 additions & 5 deletions ci/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ $nvimCmakeVars = @{
}
$uploadToCodeCov = $false

# For pull requests, skip some build configurations to save time.
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32|MINGW_64-gcov)$') {
exit 0
}

function exitIfFailed() {
if ($LastExitCode -ne 0) {
Set-PSDebug -Off
Expand Down

0 comments on commit c5e8924

Please sign in to comment.