Browse Source

ci: unmute submodule clone on appveyor

Stefan Profanter 5 years ago
parent
commit
a2d07b3e54
1 changed files with 7 additions and 2 deletions
  1. 7 2
      tools/appveyor/install.ps1

+ 7 - 2
tools/appveyor/install.ps1

@@ -1,8 +1,13 @@
-$ErrorActionPreference = "Stop"
+$ErrorActionPreference = "Continue"
 
 try {
     & git submodule sync
-    & git submodule --quiet update --init --recursive
+    & git submodule update --init --recursive
+
+    if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
+        Write-Host -ForegroundColor Red "`n`n***Cloning submodules failed. Exiting ... ***"
+        exit $LASTEXITCODE
+    }
 
     Write-Host -ForegroundColor Green "`n### Installing sphinx ###`n"
     & cinst sphinx --source python