AppVeyor: Install stack without using Chocolatey (#1479)

Also don't build branches that have "appveyor" in their name.
That seemed just redundant to me.
This commit is contained in:
Simon Jakobi 2019-10-26 22:24:54 +02:00 committed by GitHub
parent 90415e12d1
commit 149e80346b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@ version: 1.0.{build}
branches:
only:
- master
- /.*appveyor.*/
- /\d*\.\d*\.\d*/
environment:
@ -19,9 +18,12 @@ environment:
- STACK_YAML: stack-lts-6.yaml
install:
- choco install -y haskell-stack --version %STACK_VERSION%
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl --silent --show-error --output stack.zip --location "https://github.com/commercialhaskell/stack/releases/download/v%STACK_VERSION%/stack-%STACK_VERSION%-windows-x86_64.zip"
- 7z x stack.zip stack.exe
- stack setup > nul
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
cache: