From 3e2342029291baee58dd4d0152034bf63c748411 Mon Sep 17 00:00:00 2001 From: KtorZ Date: Tue, 18 Jun 2019 14:00:56 +0200 Subject: [PATCH] better cache build dependencies in Travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 08e039ab356..d18a2aaa11f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -142,8 +142,8 @@ jobs: if: (type != pull_request AND branch = master) OR (tag =~ ^v) name: "Caching Dependencies" script: - - stack --no-terminal build --fast --only-snapshot - - stack --no-terminal build --fast --only-dependencies + - stack --no-terminal build --fast --tests --no-run-tests --bench --no-run-benchmarks --only-snapshot + - stack --no-terminal build --fast --tests --no-run-tests --bench --no-run-benchmarks --only-dependencies - tar czf $STACK_WORK_CACHE .stack-work - stage: build project 🔨