git.iko.soy/typeable/pandoc
on master help sign in
appveyor.yml: revert to non-stack version.
90914d2John MacFarlane
appveyor.yml+17−24
@@ -1,28 +1,21 @@
1−branches:
1+install:
2− only:
2+- cmd: 'git submodule update --init'
3− - master
3+- ps: |
4+ choco install haskellplatform -version 2014.2.0.0 -y
5+ # Haskell Platfrom package doesn't update PATH for the current shell instance
4
6
5−cache:
7+ $env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\bin"
6−- "c:\\sr" # stack root, short paths == fewer problems
8+ $env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\lib\extralibs\bin"
7−- "%LOCALAPPDATA%\\Programs\\stack"
9+ $env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\mingw\bin"
10+ cabal update
11+ cabal install --only-dependencies --enable-tests -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
8
12
9−build: off
13+build_script:
10−
14+- ps: |
11−before_test:
15+ echo "PATH is $env:Path"
12−- git submodule update --init
16+ cabal configure --enable-tests -v2 -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
13−- ps: Invoke-WebRequest "https://github.com/commercialhaskell/stack/releases/download/v0.1.5.0/stack-0.1.5.0-x86_64-windows.zip" -OutFile stack.zip
17+ cabal build
14−- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.exe?raw=true" -OutFile 7z.exe
15−- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.dll?raw=true" -OutFile 7z.dll
16−- 7z x -oc:\\stack stack.zip
17−- move c:\\stack\\stack.exe stack.exe
18−
19−clone_folder: "c:\\pandoc"
20−environment:
21− global:
22− STACK_ROOT: "c:\\sr"
23
18
24test_script:
19test_script:
25−# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
20+- ps: |
26−# descriptor
21+ cabal test
27−- echo "" | stack --arch i386 --no-terminal --install-ghc test
28−