2015-04-26 20:37:37 +02:00
|
|
|
install:
|
2015-04-27 03:19:02 +02:00
|
|
|
- cmd: 'git submodule update --init'
|
2015-04-27 03:08:19 +02:00
|
|
|
- ps: |
|
2015-04-27 02:57:24 +02:00
|
|
|
choco install haskellplatform -version 2014.2.0.0 -y
|
|
|
|
# Haskell Platfrom package doesn't update PATH for the current shell instance
|
|
|
|
|
|
|
|
$env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\bin"
|
|
|
|
$env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\lib\extralibs\bin"
|
|
|
|
$env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\mingw\bin"
|
|
|
|
cabal update
|
|
|
|
cabal install --only-dependencies --enable-tests -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
|
2015-04-26 20:37:37 +02:00
|
|
|
|
|
|
|
build_script:
|
2015-04-27 03:08:19 +02:00
|
|
|
- ps: |
|
2015-04-27 02:57:24 +02:00
|
|
|
echo "PATH is $env:Path"
|
|
|
|
cabal configure --enable-tests -v2 -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
|
|
|
|
cabal build
|
2015-04-26 20:37:37 +02:00
|
|
|
|
|
|
|
test_script:
|
2015-04-27 03:08:19 +02:00
|
|
|
- ps: |
|
2015-04-27 02:57:24 +02:00
|
|
|
cabal test
|