cleaned: appveyor: Easier to detect bugs
* appveyor.yml conf file to simple from offcial reference * Make the cache easier to use by commenting out * fixed clone directory, from stack to yesod * curl check https * stack URL * split build and test, So we can easy detect build or test error * test job to single thread, So we can easy find bug of test
This commit is contained in:
parent
a43e5a1cbb
commit
6187c3cf09
26
appveyor.yml
26
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user