aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 000000000..f605089a1
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,17 @@
+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
+ $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
+
+build_script:
+- 'cabal configure --enable-tests -v2'
+- 'cabal build'
+
+test_script:
+- 'cabal test'