diff --git a/appveyor.yml b/appveyor.yml index d544676d..a1ef35d1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,19 +1,15 @@ +# cache: +# - '%AppData%\stack' + +install: + - curl -sS -ostack.zip -L https://get.haskellstack.org/stable/windows-i386.zip + - 7z x stack.zip stack.exe + - stack setup > nul + build: off -before_test: -# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found -- set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - -- 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" +build_script: + - stack --no-terminal test --no-run-tests 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 + - stack --jobs 1 --no-terminal test