From e90b31bb4a57d468c5d8428f7d84fe0ec31bea41 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 5 Feb 2017 14:38:50 +0200 Subject: [PATCH] Add appveyor.yml --- appveyor.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..8f05d2cf --- /dev/null +++ b/appveyor.yml @@ -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