pandoc/appveyor.yml

38 lines
945 B
YAML
Raw Normal View History

clone_folder: "c:\\stack"
environment:
global:
STACK_ROOT: "c:\\sr"
STACK_YAML: "c:\\stack\\windows\\stack-appveyor.yaml"
2015-09-27 03:04:50 +02:00
cache:
- "c:\\sr" # stack root, short paths == fewer problems
- '%LOCALAPPDATA%\Programs\stack' # even less to install...
2016-03-07 18:16:39 +01:00
build: off
install:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
- stack setup > nul
2016-03-07 18:16:39 +01:00
before_test:
# the stack install already fails without the templates...
- git submodule update --init
# set PATH to where the hsb2hs binary is copied to
- cmd: set "PATH=%PATH%;%APPDATA%\\local\\bin"
- stack install hsb2hs
2015-04-26 20:37:37 +02:00
test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal test
2016-05-10 11:28:33 +02:00
after_test:
- ps: 7z a "pandoc.zip" "$(.\\stack.exe path --local-install-root)\\bin\\pandoc*.exe"
artifacts:
- path: pandoc.zip
name: exe