Skip to content

Commit

Permalink
Update appveyor.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Feb 24, 2016
1 parent 1f8a737 commit 1c056b9
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
install:
- choco install HaskellPlatform -version 2014.2.0.0
- SET PATH=C:\Program Files\Haskell Platform\2014.2.0.0\bin;C:\Program Files\Haskell Platform\2014.2.0.0\mingw\bin;C:\Program Files\Haskell Platform\2014.2.0.0\lib\extralibs\bin;%PATH%
- choco install ghc -version 7.10.3
- SET PATH=%PATH%;C:\tools\ghc\ghc-7.10.3\bin
- curl -o cabal.zip 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 cabal.zip
- cabal --version
- cabal update

build_script:
Expand All @@ -9,7 +12,7 @@ build_script:

# 'echo "" |' works around an AppVeyor issue:
# https://github.com/commercialhaskell/stack/issues/1097#issuecomment-145747849
- echo "" | cabal install --only-dependencies --enable-tests
- echo "" | ..\cabal install --only-dependencies --enable-tests

- Setup configure --user --ghc-option=-Werror --enable-tests
- Setup build
Expand All @@ -18,7 +21,7 @@ build_script:
- Setup install
- cd ..\cabal-install
- ghc --make -threaded -i -i. Setup.hs -Wall -Werror
- echo "" | cabal install --only-dependencies --enable-tests --force-reinstalls
- Setup configure --user --ghc-option=-Werror --enable-tests
- Setup build
- Setup test unit-tests --show-details=streaming --test-option=--pattern=!FileMonitor
- echo "" | ..\cabal install --only-dependencies --enable-tests --force-reinstalls
- ..\cabal configure --user --ghc-option=-Werror --enable-tests
- ..\cabal build
- ..\cabal test unit-tests --show-details=streaming --test-option=--pattern=!FileMonitor

0 comments on commit 1c056b9

Please sign in to comment.