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 cd81207
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 --test --no-run-tests --bench --no-run-benchmarks --only-snapshot
- stack --no-terminal build --fast --test --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 cd81207

Please sign in to comment.