2016-03-07 18:16:39 +01:00
|
|
|
cache:
|
|
|
|
- "c:\\sr" # stack root, short paths == fewer problems
|
2015-09-27 03:04:50 +02:00
|
|
|
|
2016-03-07 18:16:39 +01:00
|
|
|
build: off
|
2015-04-27 02:57:24 +02:00
|
|
|
|
2016-03-07 18:16:39 +01:00
|
|
|
before_test:
|
|
|
|
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
|
|
|
|
- 7z x stack.zip stack.exe
|
2015-09-27 18:13:37 +02:00
|
|
|
|
2016-03-07 18:16:39 +01:00
|
|
|
clone_folder: "c:\\stack"
|
|
|
|
environment:
|
|
|
|
global:
|
|
|
|
STACK_ROOT: "c:\\sr"
|
2015-04-26 20:37:37 +02:00
|
|
|
|
|
|
|
test_script:
|
2016-03-07 18:16:39 +01:00
|
|
|
- stack setup > nul
|
|
|
|
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
|
|
|
|
# descriptor
|
|
|
|
- echo "" | stack --no-terminal test
|