summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 945b5018c1bf69a2f0aa1820b93368646a1bbb1f (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
branches:
  only:
  - master

cache:
- "c:\\sr" # stack root, short paths == fewer problems
- "%LOCALAPPDATA%\\Programs\\stack"

build: off

before_test:
- git submodule update --init
- ps: Invoke-WebRequest "https://github.com/commercialhaskell/stack/releases/download/v0.1.5.0/stack-0.1.5.0-x86_64-windows.zip" -OutFile stack.zip
- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.exe?raw=true" -OutFile 7z.exe
- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.dll?raw=true" -OutFile 7z.dll
- 7z x -oc:\\stack stack.zip
- move c:\\stack\\stack.exe stack.exe

clone_folder: "c:\\pandoc"
environment:
  global:
    STACK_ROOT: "c:\\sr"

test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --arch i386 --no-terminal --install-ghc test