From 48510004950ecef0a1ec8a9b33d6b64307f755b6 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 11 Jul 2017 04:33:14 +0100 Subject: [PATCH] tools: appveyor: caching tweaks [ci skip] --- appveyor.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 37e2fb347..76aa97b5d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,18 +1,21 @@ cache: +- "%LOCALAPPDATA%\\Programs\\stack" - "c:\\sr -> appveyor.yml" - "c:\\project\\.stack-work" -- "%LOCALAPPDATA%\\Programs\\stack" build: off -before_test: -- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 -- 7z x stack.zip stack.exe +#uncomment once to cache latest stack +#before_test: +#- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 +#- 7z x stack.zip stack.exe clone_folder: "c:\\project" environment: global: STACK_ROOT: "c:\\sr" +# set in UI, can we set here ? +# APPVEYOR_SAVE_CACHE_ON_ERROR: "true" test_script: - echo "" | stack --no-terminal --install-ghc test -j1 hledger hledger-web hledger-api