summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-26 11:37:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-26 11:37:37 -0700
commit11395271608fab06c1301d7a7905c2f5c593234f (patch)
tree4a9f37b5ed6784b5feb4ea468c23fd68024c4a41 /appveyor.yml
parentd9d88e58e1d710c86ef4037c352244ea6b439fa3 (diff)
Added appveyor.yml for Windows CI.
Diffstat (limited to 'appveyor.yml')
-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'