From fc0afbfdb65705be63fd21c92065267aa48ddc67 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 11 Sep 2019 11:58:05 -0400 Subject: [PATCH] Build dependencies first with a longer no-output timeout try to get around the timeout problem on slow CircleCI builders --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ba3135c..b190363 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,6 +74,15 @@ jobs: - paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }} - paymentserver-v1-{{ checksum "stack.yaml" }} + - run: + name: "Build Dependencies" + command: | + nix-shell shell.nix --run "stack build --only-dependencies --interleaved-output" + + # Give it a good long while. stripe-core, in particular, can take a + # while to build. + no_output_timeout: "20m" + - run: name: "Run Tests" command: | -- GitLab