summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJan Schulz <jasc@gmx.net>2016-05-13 00:43:15 +0200
committerJan Schulz <jasc@gmx.net>2016-05-13 01:33:16 +0200
commit92fad7be014f3d3b194528f77a3bd24d17f87cce (patch)
treed0a9d3ef0f25de61f765d2a3045fab9f1d172c68 /appveyor.yml
parentdd649f19a905dee87fd27adbfdf3ac3ca250238c (diff)
Better way to find the artifacts on appveyor
Diffstat (limited to 'appveyor.yml')
-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