aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-05-12 17:41:43 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-05-12 17:41:43 -0700
commitf3039d3af94e297a36b7fdd338b673cb5f5cda84 (patch)
treed0a9d3ef0f25de61f765d2a3045fab9f1d172c68
parentdd649f19a905dee87fd27adbfdf3ac3ca250238c (diff)
parent92fad7be014f3d3b194528f77a3bd24d17f87cce (diff)
downloadpandoc-f3039d3af94e297a36b7fdd338b673cb5f5cda84.tar.gz
Merge pull request #2919 from janschulz/master
Better way to find the artifacts on appveyor
-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