Create appveyor.yml
authorNeil Mitchell <ndmitchell@gmail.com>
Mon, 26 Oct 2015 21:11:22 +0000 (21:11 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Mon, 26 Oct 2015 21:11:22 +0000 (21:11 +0000)
appveyor.yml [new file with mode: 0644]

diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644 (file)
index 0000000..fdc2a3d
--- /dev/null
@@ -0,0 +1,19 @@
+cache:
+- "c:\\sr" # stack root, short paths == less problems
+
+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
+- stack runhaskell Generate.hs