tools: appveyor: caching tweaks
[ci skip]
This commit is contained in:
parent
337ab19190
commit
4851000495
11
appveyor.yml
11
appveyor.yml
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user