From f3050638f7bde24bcdd838a30b5384edc3f43776 Mon Sep 17 00:00:00 2001 From: Artyom Kazak Date: Thu, 11 Jul 2019 19:10:42 +0300 Subject: [PATCH] Use travis_retry with stack setup (#330) * Use travis_retry with stack setup * Comment --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62e3bef..0b8ee0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,8 @@ jobs: before_script: - sudo apt-get install -y libgmp-dev - curl -sSL https://get.haskellstack.org/ | sh - - stack setup + # travis_retry works around https://github.com/commercialhaskell/stack/issues/4888 + - travis_retry stack setup script: # Build - stack --no-terminal build --test --no-run-tests --dependencies-only @@ -82,7 +83,8 @@ jobs: before_script: - sudo apt-get install -y libgmp-dev fluxbox - curl -sSL https://get.haskellstack.org/ | sh - - stack setup + # travis_retry works around https://github.com/commercialhaskell/stack/issues/4888 + - travis_retry stack setup # Install chromedriver - wget https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip - unzip chromedriver_linux64.zip