From e49cd39ff5a5eadea16d3d3e94bfc96b9efd3e2d Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Tue, 10 Sep 2019 16:04:42 -0400
Subject: [PATCH] try using less memory during build

```
--  While building package Cabal-2.4.1.0 using:
      /root/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 build --ghc-options "-hpcdir .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/hpc -ddump-hi -ddump-to-file -fdiagnostics-color=always"
    Process exited with code: ExitFailure (-9) (THIS MAY INDICATE OUT OF MEMORY)
    Logs have been written to: /root/project/.stack-work/logs/Cabal-2.4.1.0.log
```
---
 .circleci/config.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 60d894b..71b92f7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -62,7 +62,7 @@ jobs:
       - run:
           name: "Run Tests"
           command: |
-            nix-shell shell.nix --run "stack test --no-terminal --coverage"
+            nix-shell shell.nix --run "stack build --no-terminal --test --coverage --fast"
 
       - save_cache:
           name: "Cache Dependencies"
-- 
GitLab