Skip to content

Commit

Permalink
Change Appveyor config to check multiple GHC versions and test GHCi w…
Browse files Browse the repository at this point in the history
…orks.
  • Loading branch information
komadori committed Mar 28, 2018
1 parent 4def7a8 commit 09e09ea
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ 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: lts-11.1 >stack.yaml'
- 'echo resolver: %RESOLVER% >stack.yaml'
- 'echo allow-newer: true >>stack.yaml'
- 'echo packages: >>stack.yaml'
- 'echo - . >>stack.yaml'
- stack setup > nul
- 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'

0 comments on commit 09e09ea

Please sign in to comment.