tools: appveyor: caching tweaks

[ci skip]
This commit is contained in:
Simon Michael 2017-07-11 04:33:14 +01:00
parent 337ab19190
commit 4851000495

View File

@ -1,18 +1,21 @@
cache: cache:
- "%LOCALAPPDATA%\\Programs\\stack"
- "c:\\sr -> appveyor.yml" - "c:\\sr -> appveyor.yml"
- "c:\\project\\.stack-work" - "c:\\project\\.stack-work"
- "%LOCALAPPDATA%\\Programs\\stack"
build: off build: off
before_test: #uncomment once to cache latest stack
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 #before_test:
- 7z x stack.zip stack.exe #- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
#- 7z x stack.zip stack.exe
clone_folder: "c:\\project" clone_folder: "c:\\project"
environment: environment:
global: global:
STACK_ROOT: "c:\\sr" STACK_ROOT: "c:\\sr"
# set in UI, can we set here ?
# APPVEYOR_SAVE_CACHE_ON_ERROR: "true"
test_script: test_script:
- echo "" | stack --no-terminal --install-ghc test -j1 hledger hledger-web hledger-api - echo "" | stack --no-terminal --install-ghc test -j1 hledger hledger-web hledger-api