aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 05aa0c268..0303a9ddf 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,7 +9,8 @@ cache:
- "c:\\sr" # stack root, short paths == fewer problems
- '%LOCALAPPDATA%\Programs\stack' # even less to install...
-# build: off # this disables automatic builds
+# We don't do a normal C build, but build in test_script via stack
+build: off
install:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
@@ -27,11 +28,12 @@ before_test:
test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- - echo "" | stack --no-terminal test
+ - echo "" | stack --no-terminal test
+ - echo "" | stack --local-bin-path . install pandoc
after_test:
- - ps: |
- 7z a pandoc.zip $(.\stack.exe path --local-install-root)\bin\pandoc*.exe
+ # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
+ - 7z a "pandoc.zip" windows\pandoc.exe"
artifacts:
- path: pandoc.zip