From af70be473bae0c8fc16957766e497f1e7c0d4844 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 7 Oct 2015 11:52:49 +0200 Subject: [PATCH 1/1] [appveyor] try to download the dependency file twice It sometimes fails for no good reason and trying again seems to be effective. (+typo fix) --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 55558c0850..b44b33752e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,7 +33,7 @@ install: - if [%COMPILER%]==[MinGW] rename "C:\Program Files (x86)\Git\bin\sh.exe" "sh2.exe" - if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw64\bin;%PATH% - if [%COMPILER%]==[MinGW-w64] rename "C:\Program Files (x86)\Git\bin\sh.exe" "sh2.exe" -- if [%COMPILER%]==[MinGW-w64] appveyor DownloadFile "https://raw.githubusercontent.com/symengine/dependencies/5cff7d1736877336cf9fb58267111beea4fa152f/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z" -FileName mw64.7z +- if [%COMPILER%]==[MinGW-w64] appveyor DownloadFile "https://raw.githubusercontent.com/symengine/dependencies/5cff7d1736877336cf9fb58267111beea4fa152f/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z" -FileName mw64.7z || appveyor DownloadFile "https://raw.githubusercontent.com/symengine/dependencies/5cff7d1736877336cf9fb58267111beea4fa152f/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z" -FileName mw64.7z - if [%COMPILER%]==[MinGW-w64] 7z x -oC:\ mw64.7z > NUL - if [%COMPILER%]==[MSYS2] set PATH=C:\msys64\bin,%PATH% @@ -46,7 +46,7 @@ build_script: - cd C:/projects/simgrid/examples/java && java -classpath ".;../../simgrid.jar" masterslave.Masterslave ../platforms/platform.xml masterslave/masterslaveDeployment.xml || true test_script: -- C:/projects/simgrid && ctest --output-on-failure || true +- cd C:/projects/simgrid && ctest --output-on-failure || true artifacts: - path: simgrid.jar -- 2.20.1