install: - choco install ghc -version 7.10.3 > NUL - SET PATH=%PATH%;C:\tools\ghc\ghc-7.10.3\bin - curl -o cabal.zip --silent https://www.haskell.org/cabal/release/cabal-install-1.24.0.0-rc1/cabal-install-1.24.0.0-rc1-x86_64-unknown-mingw32.zip - 7z x -bd cabal.zip - cabal --version - cabal update build_script: - cd Cabal - ghc --make -threaded -i -i. Setup.hs -Wall -Werror # 'echo "" |' works around an AppVeyor issue: # https://github.com/commercialhaskell/stack/issues/1097#issuecomment-145747849 - echo "" | ..\cabal install --only-dependencies --enable-tests - Setup configure --user --ghc-option=-Werror --enable-tests - Setup build - Setup test --show-details=streaming --test-option=--hide-successes - Setup install - cd ..\cabal-install - ghc --make -threaded -i -i. Setup.hs -Wall -Werror - echo "" | ..\cabal install happy - echo "" | ..\cabal install --only-dependencies --enable-tests - ..\cabal configure --user --ghc-option=-Werror --enable-tests - ..\cabal build - ..\cabal test unit-tests --show-details=streaming --test-option=--pattern=!FileMonitor --test-option=--hide-successes - ..\cabal test integration-tests --show-details=streaming --test-option=--pattern=!exec --test-option=--hide-successes