summoner-2.2.0.0: examples/stack-full/appveyor.yml
clone_depth: 5
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# build only master branch
branches:
only:
- master
environment:
STACK_ROOT: C:\sr
STACK_VERSION: 3.3.1
# Workaround a gnarly bug https://github.com/haskell/cabal/issues/5386
# See: https://www.fpcomplete.com/blog/2018/06/sed-a-debugging-story
# TODO: check if it's fixed once we switch to lst-13 and GHC 8.6
TMP: "c:\\tmp"
matrix:
- STACK_YAML: stack.yaml
cache:
- "%STACK_ROOT% -> %STACK_YAML%, appveyor.yml"
- ".stack-work -> %STACK_YAML%, appveyor.yml"
install:
- choco install -y haskell-stack --version %STACK_VERSION%
- stack setup > nul
build_script:
- stack build --test --bench --no-run-tests --no-run-benchmarks --ghc-options=-Werror
test_script:
- stack test