diff options
author | Andor Penzes <andor.penzes@gmail.com> | 2015-12-30 14:54:24 +0100 |
---|---|---|
committer | Andor Penzes <andor.penzes@gmail.com> | 2015-12-30 14:54:24 +0100 |
commit | 0a0aa9744b867858d8f6a1aa55acf57eba754999 (patch) | |
tree | 8d4b7b608deb9d22567288bf4aa0e6a326d70aed /.travis.yml | |
parent | 8591df23cef7254bd5244bd96213e9153cfc67e7 (diff) |
cache cabal directory in travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 93bfd814..6d566ec8 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -13,6 +13,10 @@ addons: | |||
13 | - alex-3.1.4 | 13 | - alex-3.1.4 |
14 | - cabal-install-1.22 | 14 | - cabal-install-1.22 |
15 | 15 | ||
16 | cache: | ||
17 | directories: | ||
18 | - $HOME/.cabal | ||
19 | |||
16 | before_install: | 20 | before_install: |
17 | - grep '\(MemTotal\|SwapTotal\)' /proc/meminfo | 21 | - grep '\(MemTotal\|SwapTotal\)' /proc/meminfo |
18 | - git show | head -1 # (for matching against commit hash given on the travis log web page) | 22 | - git show | head -1 # (for matching against commit hash given on the travis log web page) |