-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathappveyor.yml
34 lines (28 loc) · 1.16 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
# based on
# https://github.com/commercialhaskell/stack/blob/master/appveyor.yml
# Disabled cache in hope of improving reliability of AppVeyor builds
#cache:
#- "c:\\sr" # stack root, short paths == fewer problems
build: off
environment:
global:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
APPVEYOR_SAVE_CACHE_ON_ERROR: false
STACK_ROOT: "c:\\sr"
matrix:
- RESOLVER: "lts-6.35" # ghc 7.10.3
- RESOLVER: "lts-9.21" # ghc 8.0.2
- RESOLVER: "lts-11.20" # ghc 8.2.2
- RESOLVER: "lts-12.5" # ghc 8.4.3
- RESOLVER: "lts-16.2" # ghc 8.8.3
- RESOLVER: "nightly"
before_test:
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl -sS -ostack.zip -L --insecure https://get.haskellstack.org/stable/windows-x86_64.zip
- 7z x stack.zip stack.exe
clone_folder: "c:\\stack"
test_script:
- echo "" | stack --resolver %RESOLVER% --no-terminal build --pedantic --jobs 1
- echo "" | stack --resolver %RESOLVER% --no-terminal test --pedantic --jobs 1
- echo "" | stack --resolver %RESOLVER% --no-terminal haddock --pedantic --jobs 1