appveyor: ignore failure of mingw-get

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
This commit is contained in:
Azat Khuzhin 2016-08-07 21:30:04 +03:00
parent ac90133c16
commit 1810857425

View File

@ -41,14 +41,14 @@ init:
install: install:
- appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe - appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
- Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
- C:\MinGW\bin\mingw-get install autotools autoconf automake
build_script: build_script:
- ps: | - ps: |
if ($env:EVENT_BUILD_METHOD -eq 'autotools') { if ($env:EVENT_BUILD_METHOD -eq 'autotools') {
$env:PATH="$env:CYG_ROOT\bin;C:\MinGW\bin;$($env:PATH)" $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" bash -lc "echo 'C:\MinGW /mingw' > /etc/fstab"
$env:APPVEYOR_BUILD_FOLDER = $env:APPVEYOR_BUILD_FOLDER -replace "\\", "/" $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 { } else {
md build md build
cd build cd build