summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-09-26 21:27:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-09-26 21:27:34 -0700
commit90914d2d16cc0389759b398032c56bbe24cb9ca0 (patch)
tree4127266b03b28dfdd0efacc5973b3194a90a38d7 /appveyor.yml
parentbe0136230d1b9cc746269e75d7b28ac14289e860 (diff)
appveyor.yml: revert to non-stack version.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml41
1 files changed, 17 insertions, 24 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 945b5018c..11551a88a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,28 +1,21 @@
-branches:
- only:
- - master
+install:
+- cmd: 'git submodule update --init'
+- ps: |
+ choco install haskellplatform -version 2014.2.0.0 -y
+ # Haskell Platfrom package doesn't update PATH for the current shell instance
-cache:
-- "c:\\sr" # stack root, short paths == fewer problems
-- "%LOCALAPPDATA%\\Programs\\stack"
+ $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"
-build: off
-
-before_test:
-- git submodule update --init
-- 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
-- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.exe?raw=true" -OutFile 7z.exe
-- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.dll?raw=true" -OutFile 7z.dll
-- 7z x -oc:\\stack stack.zip
-- move c:\\stack\\stack.exe stack.exe
-
-clone_folder: "c:\\pandoc"
-environment:
- global:
- STACK_ROOT: "c:\\sr"
+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:
-# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
-# descriptor
-- echo "" | stack --arch i386 --no-terminal --install-ghc test
-
+- ps: |
+ cabal test