From b0d476ae78b2610d46207b01fd8ed87d25c1f501 Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Sun, 2 Jun 2019 21:30:57 +1000 Subject: [PATCH] Retry dependency installation commands on AppVeyor There's an `appveyor-retry` command that should help to make some of the dependency installation more reliable and the AppVeyor tests less flaky. --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9a3102ba8..00a3eb189 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,11 +21,11 @@ environment: # Install Tox for running tests. install: - - cinst imagemagick -y + - appveyor-retry cinst imagemagick -y # TODO: remove --allow-empty-checksums when unrar offers a proper checksum - - cinst unrar -y --allow-empty-checksums - - '%PYTHON%/Scripts/pip.exe install "tox<=3.8.1"' - - "%PYTHON%/Scripts/tox.exe -e %TOX_ENV% --notest" + - appveyor-retry cinst unrar -y --allow-empty-checksums + - 'appveyor-retry %PYTHON%/Scripts/pip.exe install "tox<=3.8.1"' + - "appveyor-retry %PYTHON%/Scripts/tox.exe -e %TOX_ENV% --notest" test_script: - "%PYTHON%/Scripts/tox.exe -e %TOX_ENV%"