Skip to content

Commit

Permalink
appveyor: ignore failure of mingw-get
Browse files Browse the repository at this point in the history
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
  • Loading branch information
azat committed Aug 9, 2016
1 parent ac90133 commit 1810857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Expand Up @@ -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
Expand Down

0 comments on commit 1810857

Please sign in to comment.