-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (43 loc) · 1.12 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Disabled cache in hope of improving reliability of AppVeyor builds
cache:
# - "c:\\sr" # stack root, short paths == fewer problems
- "c:\\sr\\build-plan"
- "c:\\sr\\build-plan-cache"
- "c:\\sr\\config.yaml"
- "c:\\sr\\global-project"
- "c:\\sr\\indices"
- "c:\\sr\\precompiled"
- "c:\\sr\\programs"
- "c:\\sr\\setup-exe-cache"
- "c:\\sr\\snapshots"
- "c:\\sr\\templates"
- "C:\\stack\\.stack-work\\downloaded"
- "C:\\stack\\.stack-work\\install"
- "C:\\stack\\.stack-work\\logs"
install:
- 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"
matrix:
# - lts: --resolver lts-3
# - lts: --resolver lts-6
# - lts: --resolver lts-7
- lts: ""
platform:
# - x86
- x64
skip_commits:
files:
- .travis.yml
build:
parallel: true
build_script:
- stack setup %lts% > nul
- cmd: echo "" | stack --no-terminal build %lts% --test --no-run-tests
test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- cmd: echo "" | stack --no-terminal test %lts%