]> granicus.if.org Git - libevent/commitdiff
appveyor: ignore failure of mingw-get
authorAzat Khuzhin <a3at.mail@gmail.com>
Sun, 7 Aug 2016 18:30:04 +0000 (21:30 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 9 Aug 2016 12:47:58 +0000 (15:47 +0300)
Since according to doc [1], appveyour will fail the build on every powershell's
exception:
  "PowerShell script is considered successful if it finishes without exception."

[1]: https://www.appveyor.com/docs/build-configuration#powershell

appveyor.yml

index 4773ad295dcfb39f7e150ae0172dbaf51a5cb144..735625d58d935a908ff643b137069b3c31434959 100644 (file)
@@ -41,14 +41,14 @@ init:
 install:
   - appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
   - Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
+  - C:\MinGW\bin\mingw-get install autotools autoconf automake
 build_script:
   - ps: |
       if ($env:EVENT_BUILD_METHOD -eq 'autotools') {
         $env:PATH="$env:CYG_ROOT\bin;C:\MinGW\bin;$($env:PATH)"
-        mingw-get install autotools autoconf automake
         bash -lc "echo 'C:\MinGW   /mingw' > /etc/fstab"
         $env:APPVEYOR_BUILD_FOLDER = $env:APPVEYOR_BUILD_FOLDER -replace "\\", "/"
-        bash -lc "exec 0</dev/null; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./autogen.sh && ./configure $env:EVENT_CONFIGURE_OPTIONS && make && make verify"
+        bash -lc "exec 0</dev/null; exec 2>&1; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./autogen.sh && ./configure $env:EVENT_CONFIGURE_OPTIONS && make && make verify"
       } else {
         md build
         cd build