Merge pull request #1528 from ncaq/clean-appveyor

cleaned: appveyor: Easier to detect bugs
This commit is contained in:
Michael Snoyman 2018-06-20 06:22:38 +03:00 committed by GitHub
commit 840f8faaaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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