aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-07 14:35:37 +0000
committerYann Herklotz <git@yannherklotz.com>2020-03-07 14:35:37 +0000
commit27779e32f9364f278d727cb39e0881ecf44922c5 (patch)
tree37ad2147c62332fd2d889669898934334c75af19
parent7e285ff81af1a0fd54a6cff5e46240cb220a8d62 (diff)
downloadverismith-27779e32f9364f278d727cb39e0881ecf44922c5.tar.gz
verismith-27779e32f9364f278d727cb39e0881ecf44922c5.zip
Add caching for cabal to travis
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 7b29dcb..8b9190b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,10 @@ jobs:
- name: "Nix build"
env: NIX=1
+cache:
+ directories:
+ - $HOME/.cabal
+
before_script: if [[ $NIX -eq 0 ]]; then nix-env -i cabal-install ghc; fi
script: ./scripts/build.sh