tools: add basic appveyor.yml for windows builds #376

This commit is contained in:
Simon Michael 2016-07-22 11:22:16 -07:00
parent 63b9f288f5
commit d3283a446e

19
appveyor.yml Normal file
View File

@ -0,0 +1,19 @@
cache:
- "c:\\sr -> appveyor.yml" #
build: off
before_test:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
clone_folder: "c:\\project"
environment:
global:
STACK_ROOT: "c:\\sr"
test_script:
- stack init
- stack setup > nul
- echo "" | stack --no-terminal build
- echo "" | stack --no-terminal test