Skip to content

Commit

Permalink
better cache build dependencies in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jun 18, 2019
1 parent fef2557 commit 3e23420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🔨
Expand Down

0 comments on commit 3e23420

Please sign in to comment.