소스 검색

Merge branch 'maint-0.3.5' into maint-0.4.0

Nick Mathewson 5 년 전
부모
커밋
4013e50cb7
2개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      .appveyor.yml
  2. 3 0
      changes/bug31884

+ 12 - 0
.appveyor.yml

@@ -102,6 +102,18 @@ test_script:
 
 on_finish:
 - ps: >-
+    <# if we failed before install:, these functions won't be defined #>
+    Function Execute-Command ($commandPath)
+    {
+        & $commandPath $args 2>&1
+        if ( $LastExitCode -ne 0 ) {
+            $host.SetShouldExit( $LastExitCode )
+        }
+    }
+    Function Execute-Bash ()
+    {
+        Execute-Command 'c:\msys64\usr\bin\bash' '-e' '-c' $args
+    }
     if ($env:compiler -eq "mingw") {
             <# use the MSYS2 user binaries to archive failures #>
             $oldpath = ${env:Path} -split ';'

+ 3 - 0
changes/bug31884

@@ -0,0 +1,3 @@
+  o Minor bugfixes (Appveyor CI):
+    - Avoid spurious errors when Appveyor CI fails before the install step.
+      Fixes bug 31884; bugfix on 0.3.4.2-alpha.