pandoc/appveyor.yml
John MacFarlane bab92c6ce4 appveyor - use powershell for commands.
Another try at getting path setting to work properly.
2015-04-26 17:57:24 -07:00

22 lines
799 B
YAML

install:
- ps: >-
git submodule update --init
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"
echo "PATH is $env:Path"
cabal update
cabal install --only-dependencies --enable-tests -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
build_script:
- ps: >-
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
test_script:
- ps: >-
cabal test