@@ -0,0 +1,20 @@
1+# Disabled cache in hope of improving reliability of AppVeyor builds
2+#cache:
3+#- "c:\\sr" # stack root, short paths == fewer problems
4+
5+build: off
6+
7+before_test:
8+- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
9+- 7z x stack.zip stack.exe
10+
11+clone_folder: "c:\\stack"
12+environment:
13+ global:
14+ STACK_ROOT: "c:\\sr"
15+
16+test_script:
17+- stack setup > nul
18+# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
19+# descriptor
20+- echo "" | stack --no-terminal test