-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
29 lines (25 loc) · 921 Bytes
/
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
build: off
before_test:
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;C:\Qt\5.10.1\mingw53_32\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"
matrix:
- RESOLVER: lts-11.2
- RESOLVER: lts-9.21
- RESOLVER: lts-6.35
test_script:
- 'echo resolver: %RESOLVER% >stack.yaml'
- 'echo allow-newer: true >>stack.yaml'
- 'echo packages: >>stack.yaml'
- 'echo - . >>stack.yaml'
- stack setup --install-cabal 2.0.1.1 > nul
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal test --jobs 1
# Check that GHCi can load the libraries
- 'echo do {Graphics.QML.Debug.setDebugLogLevel 0; putStrLn "OK"} | stack exec -- ghci | grep OK'