@@ -9,7 +9,8 @@ cache:
9 - "c:\\sr" # stack root, short paths == fewer problems
9 - "c:\\sr" # stack root, short paths == fewer problems
10 - '%LOCALAPPDATA%\Programs\stack' # even less to install...
10 - '%LOCALAPPDATA%\Programs\stack' # even less to install...
12−# build: off # this disables automatic builds
12+# We don't do a normal C build, but build in test_script via stack
15 - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
16 - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
@@ -27,11 +28,12 @@ before_test:
27test_script:
28test_script:
28 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
29 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
29 # descriptor
30 # descriptor
30− - echo "" | stack --no-terminal test
31+ - echo "" | stack --no-terminal test
32+ - echo "" | stack --local-bin-path . install pandoc
32after_test:
34after_test:
33− - ps: |
35+ # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
34− 7z a pandoc.zip $(.\stack.exe path --local-install-root)\bin\pandoc*.exe
36+ - 7z a "pandoc.zip" windows\pandoc.exe"
37 - path: pandoc.zip
39 - path: pandoc.zip