From 7873834d7c75c09fa33193d8339843993ed179e3 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 5 Jan 2015 14:40:40 +0200 Subject: [PATCH] Try to use Travis caching --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7b1a1cd1..7cf659d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ env: - CABALVER=1.20 GHCVER=7.8.4 +cache: + directories: + - $HOME/.ghc + - $HOME/.cabal + # Note: the distinction between `before_install` and `install` is not important. before_install: - travis_retry sudo add-apt-repository -y ppa:hvr/ghc @@ -16,4 +21,4 @@ install: # Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail. script: - - stackage check + - ./dist/build/stackage/stackage check