pandoc/appveyor.yml
2016-05-10 23:14:05 +02:00

27 lines
632 B
YAML

cache:
- "c:\\sr" # stack root, short paths == fewer problems
build: off
before_test:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
- git submodule update --init # to fetch the templates
clone_folder: "c:\\stack"
environment:
global:
STACK_ROOT: "c:\\sr"
test_script:
- stack setup > nul
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal test
after_test:
- ps: 7z a "pandoc.zip" "$(.\\stack.exe path --local-install-root)\\bin\\pandoc*.exe"
artifacts:
- path: pandoc.zip
name: exe