Add appveyor.yml

This commit is contained in:
Michael Snoyman 2017-02-05 14:38:50 +02:00
parent 958bc58153
commit e90b31bb4a

16
appveyor.yml Normal file
View File

@ -0,0 +1,16 @@
build: off
before_test:
- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
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