1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 04:42:24 +03:00

Use travis_retry with stack setup (#330)

* Use travis_retry with stack setup

* Comment
This commit is contained in:
Artyom Kazak 2019-07-11 19:10:42 +03:00 committed by GitHub
parent da910381ec
commit f3050638f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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