blob: 05aa0c2688700e12b9a3492afe4e078403aef518 (
plain)
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
|
clone_folder: "c:\\stack"
environment:
global:
STACK_ROOT: "c:\\sr"
STACK_YAML: "c:\\stack\\windows\\stack-appveyor.yaml"
cache:
- "c:\\sr" # stack root, short paths == fewer problems
- '%LOCALAPPDATA%\Programs\stack' # even less to install...
# build: off # this disables automatic builds
install:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
- stack setup > nul
before_test:
# the stack install already fails without the templates...
- git submodule update --init
# set PATH to where the hsb2hs binary is copied to
- cmd: set "PATH=%PATH%;%APPDATA%\\local\\bin"
- stack install hsb2hs
test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal test
after_test:
- ps: |
7z a pandoc.zip $(.\stack.exe path --local-install-root)\bin\pandoc*.exe
artifacts:
- path: pandoc.zip
name: exe
|